We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
.display()
.to_str()
1 parent 58be00a commit ba7d5d1Copy full SHA for ba7d5d1
src/bootstrap/src/core/build_steps/gcc.rs
@@ -202,5 +202,5 @@ impl Step for Gcc {
202
/// Configures a Cargo invocation so that it can build the GCC codegen backend.
203
pub fn add_cg_gcc_cargo_flags(cargo: &mut Cargo, gcc: &GccOutput) {
204
// Add the path to libgccjit.so to the linker search paths.
205
- cargo.rustflag(&format!("-L{}", gcc.libgccjit.parent().unwrap().display()));
+ cargo.rustflag(&format!("-L{}", gcc.libgccjit.parent().unwrap().to_str().unwrap()));
206
}
0 commit comments