X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fbootstrap%2Fcompile.rs;h=ae234fb1dc729ba9cef9b98992c44dbd88252b99;hb=48b5d110ae8b0917d09b71cdcfa6e5107a4fc224;hp=df9e9bce415276245571bf083e0608ee390e1d88;hpb=86f9bcfb8e5863fe51699dc9edebe76fb97078d2;p=rust.git diff --git a/src/bootstrap/compile.rs b/src/bootstrap/compile.rs index df9e9bce415..ae234fb1dc7 100644 --- a/src/bootstrap/compile.rs +++ b/src/bootstrap/compile.rs @@ -817,8 +817,7 @@ fn run(self, builder: &Builder<'_>) { let out_dir = builder.cargo_out(compiler, Mode::Codegen, target); - let mut cargo = - builder.cargo(compiler, Mode::Codegen, SourceType::Submodule, target, "build"); + let mut cargo = builder.cargo(compiler, Mode::Codegen, SourceType::InTree, target, "build"); cargo .arg("--manifest-path") .arg(builder.src.join(format!("compiler/rustc_codegen_{}/Cargo.toml", backend)));