Skip to content
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

update "build/host" symlink comment #131279

Merged
merged 1 commit into from
Oct 6, 2024

Conversation

onur-ozkan
Copy link
Member

@onur-ozkan onur-ozkan commented Oct 5, 2024

It's needed and can't be removed, so make it clear where it's needed.

@rustbot
Copy link
Collaborator

rustbot commented Oct 5, 2024

r? @Mark-Simulacrum

rustbot has assigned @Mark-Simulacrum.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels Oct 5, 2024
@onur-ozkan onur-ozkan force-pushed the remove-host-symlink branch from 85f1a4d to d9cbd7e Compare October 5, 2024 05:18
@Noratrieb
Copy link
Member

what's the motivation? this seems like a small thing that makes it easier to work with bootstrap with no downsides other than a bit of easy to maintain code. or is there more to it?

@onur-ozkan
Copy link
Member Author

what's the motivation?

It says Make a symbolic link so we can use a consistent directory in the documentation., which doesn't really make sense as I explain in the PR description.

@onur-ozkan
Copy link
Member Author

onur-ozkan commented Oct 5, 2024

this seems like a small thing that makes it easier to work with bootstrap with no downsides other than a bit of easy to maintain code. or is there more to it?

How does it make things easier? The host target is always the same and they are at the same directory level. You just need to type the first couple of letters of the host triple and press TAB instead of writing 'host'.

@Noratrieb
Copy link
Member

that was just a vague feeling, but it doesn't matter, I just remembered that we rely on this for the rust analyzer config:

"${workspaceFolder}/build/host/rustfmt/bin/rustfmt",

@compiler-errors
Copy link
Member

I use build/host all the time. Please don't remove it for literally no reason, lmao.

@onur-ozkan
Copy link
Member Author

that was just a vague feeling, but it doesn't matter, I just remembered that we rely on this for the rust analyzer config:

"${workspaceFolder}/build/host/rustfmt/bin/rustfmt",

Nice. It seems more useful than "writing consistent docs". I will revert the removal and update the doc.

Signed-off-by: onur-ozkan <work@onurozkan.dev>
@onur-ozkan onur-ozkan force-pushed the remove-host-symlink branch from d9cbd7e to 4f50efd Compare October 5, 2024 19:49
@onur-ozkan onur-ozkan changed the title remove "build/host" symlink update "build/host" symlink comment Oct 5, 2024
@Noratrieb
Copy link
Member

cool!
borsrplus in the style of the ToysRUs logo

@bors
Copy link
Contributor

bors commented Oct 5, 2024

📌 Commit 4f50efd has been approved by Noratrieb

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 5, 2024
@Noratrieb
Copy link
Member

(I updated the PR description for you)

bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 6, 2024
…iaskrgr

Rollup of 5 pull requests

Successful merges:

 - rust-lang#129392 (Do not consider match/let/ref of place that evaluates to `!` to diverge, disallow coercions from them too)
 - rust-lang#131279 (update "build/host" symlink comment)
 - rust-lang#131312 (On function and method calls in patterns, link to the book)
 - rust-lang#131315 (bootstrap: add `std_features` config)
 - rust-lang#131316 (Fix typo in primitive_docs.rs)

r? `@ghost`
`@rustbot` modify labels: rollup
bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 6, 2024
…iaskrgr

Rollup of 5 pull requests

Successful merges:

 - rust-lang#129392 (Do not consider match/let/ref of place that evaluates to `!` to diverge, disallow coercions from them too)
 - rust-lang#131279 (update "build/host" symlink comment)
 - rust-lang#131312 (On function and method calls in patterns, link to the book)
 - rust-lang#131315 (bootstrap: add `std_features` config)
 - rust-lang#131316 (Fix typo in primitive_docs.rs)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit aa546f9 into rust-lang:master Oct 6, 2024
6 checks passed
@rustbot rustbot added this to the 1.83.0 milestone Oct 6, 2024
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Oct 6, 2024
Rollup merge of rust-lang#131279 - onur-ozkan:remove-host-symlink, r=Noratrieb

update "build/host" symlink comment

It's needed and can't be removed, so make it clear where it's needed.
@onur-ozkan onur-ozkan deleted the remove-host-symlink branch October 6, 2024 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants