We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dacd11 commit 63aed0cCopy full SHA for 63aed0c
src/cargo/util/context/mod.rs
@@ -653,14 +653,10 @@ impl GlobalContext {
653
654
/// The directory to use for intermediate build artifacts.
655
///
656
- /// Falls back to the target directory if not specified.
657
- ///
658
/// Callers should prefer [`Workspace::build_dir`] instead.
659
pub fn build_dir(&self, workspace_manifest_path: &PathBuf) -> CargoResult<Option<Filesystem>> {
660
let Some(val) = &self.build_config()?.build_dir else {
661
- // For now, fallback to the previous implementation.
662
- // This will change in the future.
663
- return self.target_dir();
+ return Ok(None);
664
};
665
let replacements = vec![
666
(
0 commit comments