Skip to content

Commit 23e95c8

Browse files
committed
do not use run.path(compiler/....) for RustOffload::should_run not to build it unexpectedly
1 parent f88156c commit 23e95c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/bootstrap/src/core/build_steps

src/bootstrap/src/core/build_steps/llvm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,7 @@ impl CommandLineStep for RustOffload {
966966
const IS_HOST: bool = true;
967967

968968
fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> {
969-
run.path("compiler/rustc_llvm/llvm-wrapper/offload")
969+
run.alias("rust-offload")
970970
}
971971

972972
fn make_run(run: RunConfig<'_>) {

0 commit comments

Comments
 (0)