diff options
| author | Jakub Beránek <berykubik@gmail.com> | 2025-02-17 12:34:43 +0100 |
|---|---|---|
| committer | Jakub Beránek <berykubik@gmail.com> | 2025-02-17 12:34:43 +0100 |
| commit | ba7d5d11ae50554a56a789dbe7a5e8cf08d42c3c (patch) | |
| tree | 8dab89a3c3b1dd9d17fb31b5039b95a5ec94b601 | |
| parent | 58be00a4f58496fce5df9176270ce63707d948c3 (diff) | |
Changed `.display()` to `.to_str()`
| -rw-r--r-- | src/bootstrap/src/core/build_steps/gcc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/src/core/build_steps/gcc.rs b/src/bootstrap/src/core/build_steps/gcc.rs index 3edca8834e0..e8b6a577cea 100644 --- a/src/bootstrap/src/core/build_steps/gcc.rs +++ b/src/bootstrap/src/core/build_steps/gcc.rs @@ -202,5 +202,5 @@ impl Step for Gcc { /// Configures a Cargo invocation so that it can build the GCC codegen backend. pub fn add_cg_gcc_cargo_flags(cargo: &mut Cargo, gcc: &GccOutput) { // Add the path to libgccjit.so to the linker search paths. - cargo.rustflag(&format!("-L{}", gcc.libgccjit.parent().unwrap().display())); + cargo.rustflag(&format!("-L{}", gcc.libgccjit.parent().unwrap().to_str().unwrap())); } |
