Skip to content

Commit 96da098

Browse files
committed
more debug output
1 parent fe467ba commit 96da098

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/bootstrap/src/core/builder/cargo.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ use crate::core::build_steps::tool::SourceType;
77
use crate::core::build_steps::{compile, test};
88
use crate::core::config::SplitDebuginfo;
99
use crate::core::config::flags::Color;
10+
use crate::debug;
1011
use crate::utils::build_stamp;
1112
use crate::utils::helpers::{self, LldThreads, check_cfg_arg, linker_args, linker_flags};
1213
use crate::{
@@ -995,7 +996,10 @@ impl Builder<'_> {
995996
if self.config.llvm_enzyme {
996997
let arch = self.build.build;
997998
let enzyme_dir = self.build.out.join(arch).join("enzyme").join("lib");
998-
rustflags.arg(&format!("-Clink-arg=-L{}", enzyme_dir.display()));
999+
let enzyme_dir2 = enzyme_dir.display();
1000+
debug!("Enzyme dir: {}", enzyme_dir2);
1001+
dbg!("Enzyme dir: {}", &enzyme_dir2);
1002+
rustflags.arg(&format!("-Clink-arg=-L{enzyme_dir2}"));
9991003
}
10001004
}
10011005
}

0 commit comments

Comments
 (0)