Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
710389f
rustc-dev-guide: Mention `--extern` modifiers for `aux-crate` directive
Enselic Jan 19, 2026
061b551
Auto merge of #151382 - JonathanBrouwer:attr-perf, r=jdonszelmann
bors Jan 21, 2026
6fa495a
Auto merge of #151416 - rami3l:dist/rustc-docs-target-limit, r=jieyouxu
bors Jan 21, 2026
9048328
Auto merge of #149514 - adamgemmell:dev/adagem01/bootstrap-to-library…
bors Jan 21, 2026
83e19e4
Fix typo: 'recieve' -> 'receive' in lldb-visualizers.md
bodhisilberling Jan 22, 2026
e8cd45f
Auto merge of #149440 - chenyukang:yukang/issue-149402, r=fee1-dead
bors Jan 22, 2026
b55daa8
Rollup merge of #151412 - WhyNovaa:diagnostics-impl-enum-fix, r=lcnr
JonathanBrouwer Jan 22, 2026
8e6afbf
Rollup merge of #151497 - bodhisilberling-2027:fix-typo-recieve-recei…
JonathanBrouwer Jan 22, 2026
8bffe33
Auto merge of #151506 - JonathanBrouwer:rollup-MDuFdim, r=JonathanBro…
bors Jan 22, 2026
75ccb25
Auto merge of #151389 - scottmcm:vec-repeat, r=joboet
bors Jan 23, 2026
3d4891d
Auto merge of #151501 - flip1995:clippy-subtree-update, r=Manishearth
bors Jan 23, 2026
ef0461e
Auto merge of #149848 - bjorn3:alloc_shim_rework2, r=jackh726
bors Jan 24, 2026
cd0cdc5
Auto merge of #151544 - weihanglo:update-cargo, r=weihanglo
bors Jan 24, 2026
2d6fd67
Rollup merge of #149962 - Gelbpunkt:powerpc64-musl-tier-2, r=Mark-Sim…
matthiaskrgr Jan 24, 2026
71935b4
Rollup merge of #150905 - PaulDance:patches/unsupport-win7-hostname, …
matthiaskrgr Jan 24, 2026
9221121
Rollup merge of #151094 - nicholasbishop:bishop-fix-server-uefi-compi…
matthiaskrgr Jan 24, 2026
4935411
Rollup merge of #151346 - folkertdev:simd-splat, r=workingjubilee
matthiaskrgr Jan 24, 2026
7f2dea0
Rollup merge of #151353 - Enselic:aux-crate-opts, r=Zalathar
matthiaskrgr Jan 24, 2026
3035030
Rollup merge of #151538 - joboet:sleep_more, r=Mark-Simulacrum
matthiaskrgr Jan 24, 2026
9bbdb65
Rollup merge of #151098 - partrita:main, r=Mark-Simulacrum
matthiaskrgr Jan 24, 2026
6f0ecaa
Rollup merge of #151157 - Kobzol:build-manifest, r=Mark-Simulacrum
matthiaskrgr Jan 24, 2026
dfd1028
Rollup merge of #151403 - joboet:clock_nanosleep_time64, r=Mark-Simul…
matthiaskrgr Jan 24, 2026
e4a1523
Rollup merge of #151571 - androm3da:bcain/cstr_merge, r=tgross35
matthiaskrgr Jan 24, 2026
59bc1fe
Auto merge of #151615 - matthiaskrgr:rollup-2WQ1USJ, r=matthiaskrgr
bors Jan 24, 2026
4b6060a
Auto merge of #151065 - nagisa:add-preserve-none-abi, r=petrochenkov
bors Jan 25, 2026
7297107
Auto merge of #151556 - eggyal:unused-assignment-to-unused-variable, …
bors Jan 25, 2026
94e6e4f
Auto merge of #151337 - the8472:bail-before-memcpy2, r=Mark-Simulacrum
bors Jan 25, 2026
2b0df4f
Prepare for merging from rust-lang/rust
invalid-email-address Jan 26, 2026
dd8f743
Merge ref '873d4682c7d2' from rust-lang/rust
invalid-email-address Jan 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rust-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5c49c4f7c8393c861b849441d27f5d40e0f1e33b
873d4682c7d285540b8f28bfe637006cef8918a6
2 changes: 1 addition & 1 deletion src/debuginfo/lldb-visualizers.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> NOTE: LLDB's C++<->Python FFI expects a version of python designated at the time LLDB was
>compiled. LLDB is careful to correspond this version to the minimum in typical Linux and macOS
>distributions, but on Windows there is no easy solution. If you recieve an import error regarding
>distributions, but on Windows there is no easy solution. If you receive an import error regarding
>`_lldb` not existing, a mismatched Python version is likely the cause.
>
> LLDB is considering solutions this issue. For updates, see
Expand Down
4 changes: 3 additions & 1 deletion src/tests/compiletest.md
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,9 @@ to link to the extern crate to make the crate be available as an extern prelude.
That allows you to specify the additional syntax of the `--extern` flag, such as
renaming a dependency. For example, `//@ aux-crate:foo=bar.rs` will compile
`auxiliary/bar.rs` and make it available under then name `foo` within the test.
This is similar to how Cargo does dependency renaming.
This is similar to how Cargo does dependency renaming. It is also possible to
specify [`--extern` modifiers](https://github.com/rust-lang/rust/issues/98405).
For example, `//@ aux-crate:noprelude:foo=bar.rs`.

`aux-bin` is similar to `aux-build` but will build a binary instead of a
library. The binary will be available in `auxiliary/bin` relative to the working
Expand Down
16 changes: 8 additions & 8 deletions src/tests/directives.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ Directives can generally be found by browsing the

See [Building auxiliary crates](compiletest.html#building-auxiliary-crates)

| Directive | Explanation | Supported test suites | Possible values |
|-----------------------|-------------------------------------------------------------------------------------------------------|----------------------------------------|-----------------------------------------------|
| `aux-bin` | Build a aux binary, made available in `auxiliary/bin` relative to test directory | All except `run-make`/`run-make-cargo` | Path to auxiliary `.rs` file |
| `aux-build` | Build a separate crate from the named source file | All except `run-make`/`run-make-cargo` | Path to auxiliary `.rs` file |
| `aux-crate` | Like `aux-build` but makes available as extern prelude | All except `run-make`/`run-make-cargo` | `<extern_prelude_name>=<path/to/aux/file.rs>` |
| `aux-codegen-backend` | Similar to `aux-build` but pass the compiled dylib to `-Zcodegen-backend` when building the main file | `ui-fulldeps` | Path to codegen backend file |
| `proc-macro` | Similar to `aux-build`, but for aux forces host and don't use `-Cprefer-dynamic`[^pm]. | All except `run-make`/`run-make-cargo` | Path to auxiliary proc-macro `.rs` file |
| `build-aux-docs` | Build docs for auxiliaries as well. Note that this only works with `aux-build`, not `aux-crate`. | All except `run-make`/`run-make-cargo` | N/A |
| Directive | Explanation | Supported test suites | Possible values |
|-----------------------|-------------------------------------------------------------------------------------------------------|----------------------------------------|--------------------------------------------------------------------|
| `aux-bin` | Build a aux binary, made available in `auxiliary/bin` relative to test directory | All except `run-make`/`run-make-cargo` | Path to auxiliary `.rs` file |
| `aux-build` | Build a separate crate from the named source file | All except `run-make`/`run-make-cargo` | Path to auxiliary `.rs` file |
| `aux-crate` | Like `aux-build` but makes available as extern prelude | All except `run-make`/`run-make-cargo` | `[<extern_modifiers>:]<extern_prelude_name>=<path/to/aux/file.rs>` |
| `aux-codegen-backend` | Similar to `aux-build` but pass the compiled dylib to `-Zcodegen-backend` when building the main file | `ui-fulldeps` | Path to codegen backend file |
| `proc-macro` | Similar to `aux-build`, but for aux forces host and don't use `-Cprefer-dynamic`[^pm]. | All except `run-make`/`run-make-cargo` | Path to auxiliary proc-macro `.rs` file |
| `build-aux-docs` | Build docs for auxiliaries as well. Note that this only works with `aux-build`, not `aux-crate`. | All except `run-make`/`run-make-cargo` | N/A |

[^pm]: please see the [Auxiliary proc-macro section](compiletest.html#auxiliary-proc-macro) in the compiletest chapter for specifics.

Expand Down
Loading