Skip to content

Commit ba7d5d1

Browse files
committed
Changed .display() to .to_str()
1 parent 58be00a commit ba7d5d1

File tree

1 file changed

+1
-1
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+1
-1
lines changed

src/bootstrap/src/core/build_steps/gcc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,5 +202,5 @@ impl Step for Gcc {
202202
/// Configures a Cargo invocation so that it can build the GCC codegen backend.
203203
pub fn add_cg_gcc_cargo_flags(cargo: &mut Cargo, gcc: &GccOutput) {
204204
// Add the path to libgccjit.so to the linker search paths.
205-
cargo.rustflag(&format!("-L{}", gcc.libgccjit.parent().unwrap().display()));
205+
cargo.rustflag(&format!("-L{}", gcc.libgccjit.parent().unwrap().to_str().unwrap()));
206206
}

0 commit comments

Comments
 (0)