rustc: Move location of codegen-backends dir#47893
Conversation
|
(rust_highfive has picked a reviewer for you, use r? to override) |
Mark-Simulacrum
left a comment
There was a problem hiding this comment.
Other than the small nit r=me. Seems like a good idea...
src/bootstrap/compile.rs
Outdated
There was a problem hiding this comment.
I believe we probably want to make this a dedicated function on builder. It seems like it's a relatively common thing to want (or at least that multiple places want it).
096a67a to
751e07b
Compare
|
@bors: r=Mark-Simulacrum |
|
📌 Commit 751e07b has been approved by |
|
@bors r- On |
751e07b to
0e69f2d
Compare
|
@bors: r=Mark-Simulacrum |
|
📌 Commit 0e69f2d has been approved by |
src/bootstrap/builder.rs
Outdated
There was a problem hiding this comment.
Nit pick: x.parent().unwrap().join("y") is the same as x.with_file_name("y") (unless x is root).
Right now this directory is located under: $sysroot/lib/rustlib/$target/lib/codegen-backends but after seeing what we do in a few other places it seems that a more appropriate location would be: $sysroot/lib/rustlib/$target/codegen-backends so this commit moves it!
0e69f2d to
8ebe542
Compare
|
@bors: r=Mark-Simulacrum |
|
📌 Commit 8ebe542 has been approved by |
… r=alexcrichton rustc: Move location of `codegen-backends` dir Right now this directory is located under: ``` $sysroot/lib/rustlib/$target/lib/codegen-backends ``` but after seeing what we do in a few other places it seems that a more appropriate location would be: ``` $sysroot/lib/rustlib/$target/codegen-backends ``` so this commit moves it!
Right now this directory is located under:
but after seeing what we do in a few other places it seems that a more
appropriate location would be:
so this commit moves it!