-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Symlink build/host
-> build/$HOST_TRIPLE
#104854
Conversation
(rustbot has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
dfec9a0
to
d80e04c
Compare
Might it be clearer to replace the linux target triple in the title with |
build/host
-> build/x86_64-unknown-linux-gnu
build/host
-> build/$HOST
build/host
-> build/$HOST
build/host
-> build/$HOST_TRIPLE
I feel like "host" here is a bit confusing -- it's the build triple, not the host (of which there can be multiple). I can't say I have better names though and in practice host is ~nearly right so maybe we should just not worry about this. r=me if you don't have any different ideas. |
☔ The latest upstream changes (presumably #105328) made this pull request unmergeable. Please resolve the merge conflicts. |
Just to clarify, are you talking about there being multiple directories in the case of cross-compilation? In that case, I would assume this PR only symlinks to the host's corresponding build directory. (Apologies if I misunderstood.) |
Yes, when cross-compiling. I'm not sure we require that the build platform is one of the host platforms. |
@Mark-Simulacrum how does |
Not opposed, though I can't call myself enthusiastic about it either :) |
I think I'm going to keep it as |
…ate per target) This allows us to use a consistent path in the documentation, without having to worry about which platform people are using.
d80e04c
to
6f0fc2f
Compare
@bors r=Mark-Simulacrum rollup |
…iaskrgr Rollup of 8 pull requests Successful merges: - rust-lang#104854 (Symlink `build/host` -> `build/$HOST_TRIPLE`) - rust-lang#105458 (Allow blocking `Command::output`) - rust-lang#105559 (bootstrap: Allow installing `llvm-tools`) - rust-lang#105789 (rustdoc: clean up margin CSS for scraped examples) - rust-lang#105792 (docs: add long error explanation for error E0320) - rust-lang#105814 (Support call and drop terminators in custom mir) - rust-lang#105829 (Speed up tidy) - rust-lang#105836 (std::fmt: Use args directly in example code) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
(as appropriate per target)
This allows us to use a consistent path in the documentation, without having to worry about which platform people are using.