Skip to content

rustc-dev-guide subtree update - #162281

Merged
rust-bors[bot] merged 72 commits into
rust-lang:mainfrom
tshepang:rdg-sync
Sep 4, 2026
Merged

rustc-dev-guide subtree update#162281
rust-bors[bot] merged 72 commits into
rust-lang:mainfrom
tshepang:rdg-sync

Conversation

@tshepang

@tshepang tshepang commented Sep 4, 2026

Copy link
Copy Markdown
Member

Subtree update of rustc-dev-guide to rust-lang/rustc-dev-guide@a6da162.

Created using https://github.com/rust-lang/josh-sync.

r? @ghost

jyn514 and others added 30 commits August 17, 2026 09:23
- Organize by "About" -> "Contributing" -> "Editing" -> "Maintaining"
  rather than mixing sections
- Deduplicate a few lines into the guide itself
- Recommend `mdbook serve` over `mdbook build`
- Document `mdbook` layout and link to the upstream docs
- Document sembr and that relative links must use `.md` extensions
- Add a section on testing the tools in `ci/`
Make README more complete and easier to follow
Dedup a bunch of information that's already on Forge
This updates the rust-version file to da51146.
That is not all it does
Installing cargo tools (`cargo install`) without locked dependencies exposes users to supply-chain attacks to all the dependencies of the tool (https://blog.rust-lang.org/2026/08/20/supply-chain-attack-on-arrayref/). Using `cargo install --locked` reduces this risk to a compromise of the tool itself, while using the locked and hashed version of the dependencies.

I went through all `rg "cargo install"` hits in the repository and added `--locked` to all but explanatory examples (such as cargo's docs on `cargo install` itself). I validated that those tools publish functioning `Cargo.lock`s with https://gist.github.com/konstin/bcb1169c1c1120c259dca64e777a64d0.
- remove discouraging "pretty simple" in a complex chapter
- mention that queries are demand-driven, not just memoized
- emphasize that "query system" is a term of art (c.f. "Improper Nouns":
  https://siderea.dreamwidth.org/1773806.html)
touch-ups to "query system" chapter
…ocked

Install cargo tools with locked dependencies
fix outdated docs about what RA config `x setup` generates
Add a central index of dev-guide reading club discussions
 add some more compiler internals videos
@rustbot

rustbot commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

rustc-dev-guide is developed in its own repository. If possible, consider making this change to rust-lang/rustc-dev-guide instead.

cc @BoxyUwU

@rustbot rustbot added A-rustc-dev-guide Area: rustc-dev-guide S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 4, 2026
@tshepang

tshepang commented Sep 4, 2026

Copy link
Copy Markdown
Member Author

@bors r+ rollup

@rust-bors

rust-bors Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 3e203c4 has been approved by tshepang

It is now in the queue for this repository.

@rust-bors rust-bors Bot 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 Sep 4, 2026
rust-bors Bot pushed a commit that referenced this pull request Sep 4, 2026
…uwer

Rollup of 7 pull requests

Successful merges:

 - #157808 (sanitizers: Implement support for the sanitize ignorelist)
 - #160660 (c-variadic: use `emit_ptr_va_arg` for `va_arg` on `sparc`)
 - #162237 (make -Ctarget-feature warnings more explicitly FCWs)
 - #160111 (Generalize Decodable impl for arrays to all types)
 - #162174 (Update internal docs & tests to use `!` rather than `Infallible` in relation to `Try`)
 - #162226 (Clean up the AST visitor)
 - #162281 (rustc-dev-guide subtree update)
@rust-bors
rust-bors Bot merged commit c97aa40 into rust-lang:main Sep 4, 2026
13 checks passed
@rustbot rustbot added this to the 1.100.0 milestone Sep 4, 2026
rust-bors Bot pushed a commit that referenced this pull request Sep 4, 2026
Rollup merge of #162281 - tshepang:rdg-sync, r=tshepang

rustc-dev-guide subtree update

Subtree update of `rustc-dev-guide` to rust-lang/rustc-dev-guide@a6da162.

Created using https://github.com/rust-lang/josh-sync.

r? @ghost
@tshepang
tshepang deleted the rdg-sync branch September 4, 2026 11:15
RalfJung pushed a commit to RalfJung/miri that referenced this pull request Sep 5, 2026
…uwer

Rollup of 7 pull requests

Successful merges:

 - rust-lang/rust#157808 (sanitizers: Implement support for the sanitize ignorelist)
 - rust-lang/rust#160660 (c-variadic: use `emit_ptr_va_arg` for `va_arg` on `sparc`)
 - rust-lang/rust#162237 (make -Ctarget-feature warnings more explicitly FCWs)
 - rust-lang/rust#160111 (Generalize Decodable impl for arrays to all types)
 - rust-lang/rust#162174 (Update internal docs & tests to use `!` rather than `Infallible` in relation to `Try`)
 - rust-lang/rust#162226 (Clean up the AST visitor)
 - rust-lang/rust#162281 (rustc-dev-guide subtree update)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-rustc-dev-guide Area: rustc-dev-guide S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.