Skip to content

Commit 4762401

Browse files
committed
update outdated comment
1 parent 68f66ad commit 4762401

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bootstrap/src/core/build_steps/compile.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1049,9 +1049,9 @@ pub fn rustc_cargo(
10491049
// <https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/Internal.20lint.20for.20raw.20.60print!.60.20and.20.60println!.60.3F>.
10501050
cargo.rustflag("-Zon-broken-pipe=kill");
10511051

1052-
// We temporarily disable linking here as part of some refactoring.
1053-
// This way, people can manually use -Z llvm-plugins and -C passes=enzyme for now.
1054-
// In a follow-up PR, we will re-enable linking here and load the pass for them.
1052+
// We want to link against registerEnzyme and in the future we want to use additional
1053+
// functionality from Enzyme core. For that we need to link against Enzyme.
1054+
// FIXME(ZuseZ4): Get the LLVM version number automatically instead of hardcoding it.
10551055
if builder.config.llvm_enzyme {
10561056
cargo.rustflag("-l").rustflag("Enzyme-19");
10571057
}

0 commit comments

Comments
 (0)