File tree 1 file changed +3
-3
lines changed
src/bootstrap/src/core/build_steps
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1049,9 +1049,9 @@ pub fn rustc_cargo(
1049
1049
// <https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/Internal.20lint.20for.20raw.20.60print!.60.20and.20.60println!.60.3F>.
1050
1050
cargo. rustflag ( "-Zon-broken-pipe=kill" ) ;
1051
1051
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 .
1055
1055
if builder. config . llvm_enzyme {
1056
1056
cargo. rustflag ( "-l" ) . rustflag ( "Enzyme-19" ) ;
1057
1057
}
You can’t perform that action at this time.
0 commit comments