-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Respect --set=target.platform when building rustbuild itself #105920
Conversation
r? @jyn514 (rustbot has picked a reviewer for you, use r? to override) |
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.
Can you explain more why this change is necessary? Won't this break #97263 again?
908bba8
to
f8521b3
Compare
This comment has been minimized.
This comment has been minimized.
f8521b3
to
738c5f5
Compare
This comment has been minimized.
This comment has been minimized.
738c5f5
to
86040d2
Compare
This comment has been minimized.
This comment has been minimized.
86040d2
to
1a5d6e4
Compare
This comment has been minimized.
This comment has been minimized.
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.
This popped up again, for a target that does have a dot in it and wouldn't be fixed by this PR ... it makes me little uncomfortable to keep piling up hacks instead of fixing the parsing in bootstrap.py. https://rust-lang.zulipchat.com/#narrow/stream/326414-t-infra.2Fbootstrap/topic/specifying.20linker.20for.20cross-compiling
Avoid quoting targets that do not contain a period. See rust-lang@1532fd8 `--set=target.platform.linker` is ignored if RUSTFLAGS is not set. Undo parts of rust-lang@d1291dc
7b5cf85
to
480297d
Compare
I am afraid I do not know how to implement a "proper" fix. |
Ok, this seems reasonable. We can worry about a permanent fix later, this is still better than the status quo. @MarcusCalhoun-Lopez thank you for sticking with this :) @bors r+ |
☀️ Test successful - checks-actions |
Finished benchmarking commit (2c7536e): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. |
See rust-lang/rust#105920 No revbump since installed files will not change.
…yn514 Respect --set=target.platform when building rustbuild itself `--set=target.platform.cc` and `--set=target.platform.cxx` are ignored if target is quoted. `--set=target.platform.linker` is ignored if RUSTFLAGS is not set. Undo parts of rust-lang@d1291dc and rust-lang@1532fd8
--set=target.platform.cc
and--set=target.platform.cxx
are ignored if target is quoted.--set=target.platform.linker
is ignored if RUSTFLAGS is not set.Undo parts of
d1291dc and
1532fd8