Skip to content

update "build/host" symlink comment#131279

Merged
bors merged 1 commit into
rust-lang:masterfrom
onur-ozkan:remove-host-symlink
Oct 6, 2024
Merged

update "build/host" symlink comment#131279
bors merged 1 commit into
rust-lang:masterfrom
onur-ozkan:remove-host-symlink

Conversation

@onur-ozkan

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

Copy link
Copy Markdown
Contributor

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

@rustbot

rustbot commented Oct 5, 2024

Copy link
Copy Markdown
Collaborator

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
Copy Markdown
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
Copy Markdown
Contributor 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

onur-ozkan commented Oct 5, 2024

Copy link
Copy Markdown
Contributor Author

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
Copy Markdown
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
Copy Markdown
Contributor

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

@onur-ozkan

Copy link
Copy Markdown
Contributor 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
Copy Markdown
Member

cool!
borsrplus in the style of the ToysRUs logo

@bors

bors commented Oct 5, 2024

Copy link
Copy Markdown
Collaborator

📌 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
Copy Markdown
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
@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