-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Allow x perf
to find rustc.exe on Windows
#141283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
r? @clubby789 rustbot has assigned @clubby789. Use |
let mut rustc = sysroot.clone(); | ||
rustc.push("bin"); | ||
rustc.push("rustc"); | ||
rustc.set_extension(EXE_EXTENSION); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe the changes away from .join
are not necessary. Simply use let mut
instead of adding two lines.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I'm afraid that you are going to find all sorts of funny bugs if you try to use rustc-perf
and x perf
on Windows 😆
Could you please squash the commits? Such a tiny change doesn't need to be in three commits. Thanks!
x perf
to find rustc.exe on Windows
This comment has been minimized.
This comment has been minimized.
I don't have a Windows system available to test this - would you mind showing what the new output of running |
It appears that generated
|
You needed to rebase instead of merge. |
This is interesting, I wonder if it's expected Cargo behavior. If you go to |
71b9e49
to
6ac8e51
Compare
The code now contains the version with @bors r+ rollup |
Yes, # This file is automatically @generated by Cargo.
# It is not intended for manual editing.
+version = 4
+
[[package]]
name = "await-call-tree"
version = "0.1.0"
- |
Oh, ok, that's just a version bump. I guess that we could regenerate the lockfiles to have a new Cargo lock version. |
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#137759 (Add `std::os::unix::process::CommandExt::chroot` to safely chroot a child process) - rust-lang#140994 (replace `cc_detect::cc2ar` with `cc::try_get_archiver`) - rust-lang#141213 (Suggest use "{}", self.x instead of {self.x} when resolve x as field of `self`) - rust-lang#141283 (Allow `x perf` to find rustc.exe on Windows) - rust-lang#141284 (Allow trailing comma after argument in query definition) - rust-lang#141317 (typeck: catch `continue`s pointing to blocks) - rust-lang#141318 (Avoid creating an empty identifer in `Symbol::to_ident_string`.) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#141283 - Sol-Ell:fix-benchmarking-on-windows, r=Kobzol Allow `x perf` to find rustc.exe on Windows Related issue: rust-lang#141281
Related issue: #141281