Uh oh!
There was an error while loading. Please reload this page.
rustbuild: include channel in sanitizers installed name - #68994
Conversation
rust-highfive
commented
Feb 9, 2020
(rust_highfive has picked a reviewer for you, use r? to override) |
Mark-Simulacrum
left a comment
There was a problem hiding this comment.
Have you verified that the sanitizers continue to be found and such? I would have expected us to need to change something outside the compiler, but I don't remember how we locate sanitizers...
Uh oh!
There was an error while loading. Please reload this page.
Keruspe
commented
Feb 9, 2020
After double checking, it only worked because beta is also installed, without this patch, so it's using the one from beta. Marked the PR as WIP until I figure out where else the name needs to be changed |
f332408 to
25df314Comparetmiasko
commented
Feb 9, 2020
The code that links sanitizer runtimes and needs equivalent changes is here: rust/src/librustc_codegen_ssa/back/link.rs Lines 748 to 787 in a29424a |
Keruspe
commented
Feb 9, 2020
Found that with ripgrep, yep. testing in progress. Thanks for the hints |
Keruspe
commented
Feb 9, 2020
@Mark-Simulacrum it now properly works as expected |
Uh oh!
There was an error while loading. Please reload this page.
rust-highfive
commented
Feb 10, 2020
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
461214a to
3ad2652CompareMark-Simulacrum
commented
Feb 10, 2020
r=me with commits squashed into one |
Allows parallel install of different rust channels Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3ad2652 to
1bba9cfCompareKeruspe
commented
Feb 11, 2020
squashed |
Mark-Simulacrum
commented
Feb 11, 2020
@bors r+ |
bors
commented
Feb 11, 2020
📌 Commit 1bba9cf has been approved by |
…-Simulacrum rustbuild: include channel in sanitizers installed name Allows parallel install of different rust channels. I'm not sure if the channel is the right thing to use there, but currently both beta and nightly try to install e.g. `/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_rt.asan.a` when before (and in current stable) it used to be `/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_asan-45a4390180e83d28.rlib` which contained a hash, making it unique. With this patch, `/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.asan.a` gets installed
Rollup of 8 pull requests Successful merges: - #67585 (Improve `char::is_ascii_*` codegen) - #68914 (Speed up `SipHasher128`.) - #68994 (rustbuild: include channel in sanitizers installed name) - #69032 (ICE in nightly-2020-02-08: handle TerminatorKind::Yield in librustc_mir::transform::promote_consts::Validator method) - #69034 (parser: Remove `Parser::prev_token_kind`) - #69042 (Remove backtrace header text) - #69059 (Remove a few unused objects) - #69089 (Properly use the darwin archive format on Apple targets) Failed merges: r? @ghost
Allows parallel install of different rust channels.
I'm not sure if the channel is the right thing to use there, but currently both beta and nightly try to install e.g.
/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_rt.asan.awhen before (and in current stable) it used to be/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_asan-45a4390180e83d28.rlibwhich contained a hash, making it unique.With this patch,
/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.asan.agets installed