Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
832 commits
Select commit Hold shift + click to select a range
b1a7246
Rollup merge of #146605 - jyn514:update-rustfix, r=nnethercote
matthiaskrgr Sep 16, 2025
d1ed4f4
Rollup merge of #146611 - lolbinarycat:bootstrap-toml-wrong-section-d…
matthiaskrgr Sep 16, 2025
cf03552
Rollup merge of #146618 - GuillaumeGomez:backend-run-llvm-options, r=…
matthiaskrgr Sep 16, 2025
a9d0a6f
Auto merge of #138271 - mu001999-contrib:fix-138234, r=jackh726
bors Sep 16, 2025
580b489
Update the minimum external LLVM to 20
cuviper Aug 7, 2025
e54602c
Merge similar output checks in assembly-llvm/x86_64-cmp
cuviper Aug 8, 2025
88bef49
Update the FIXME comments in the generic three_way_compare
cuviper Aug 8, 2025
b79a4bf
Do not use `git -C dir`
samueltardieu Sep 16, 2025
d81872a
add Readme.md to tidy
simp4t7 Sep 12, 2025
a4e8d6d
Update cargo submodule
weihanglo Sep 16, 2025
3f1552a
Auto merge of #146650 - matthiaskrgr:rollup-rjrklz9, r=matthiaskrgr
bors Sep 16, 2025
44c1a00
Enable DestinationPropagation by default.
cjgillot Apr 30, 2023
19e5286
Fix `unnecessary_unwrap` false negative when unwrapping a known value…
GalileoCap Sep 16, 2025
53b91ea
Remove Rvalue::Len.
cjgillot Sep 14, 2025
f018b46
Update docs.
cjgillot Sep 16, 2025
4516fee
Remove Rvalue::Len.
cjgillot Sep 14, 2025
de73af9
Add test.
cjgillot Sep 16, 2025
40d879a
Add test.
cjgillot Sep 14, 2025
fe3a784
Do not renumber resume local.
cjgillot Sep 14, 2025
eddd755
Bless ui.
cjgillot Sep 16, 2025
ad19341
Merge pull request #20379 from skewb1k/fix/consistent-hover-doc-breaks
ChayimFriedman2 Sep 17, 2025
5419896
Use `LLVMDIBuilderCreateSubroutineType`
Zalathar Sep 16, 2025
2552deb
Use `LLVMDIBuilderCreateUnionType`
Zalathar Sep 16, 2025
bef8f64
Use `LLVMDIBuilderCreateArrayType`
Zalathar Sep 16, 2025
3e9048d
Use `LLVMDIBuilderCreateBasicType`
Zalathar Sep 16, 2025
bae6fde
Use `LLVMDIBuilderCreatePointerType`
Zalathar Sep 16, 2025
af88d14
Use `LLVMDIBuilderCreateStructType`
Zalathar Sep 16, 2025
26f3337
Remove `DynKind`
fmease Sep 17, 2025
34062b1
Merge modules dyn_compatibility and lint into dyn_trait
fmease Sep 17, 2025
ba4b643
Auto merge of #146656 - weihanglo:update-cargo, r=weihanglo
bors Sep 17, 2025
06e8810
Prepare for merging from rust-lang/rust
Sep 17, 2025
9d93fab
Rollup merge of #142807 - sourcefrog:failfast, r=dtolnay
Zalathar Sep 17, 2025
feeb68e
Rollup merge of #144871 - Kivooeo:btree_entry_insert-stabilize, r=jhp…
Zalathar Sep 17, 2025
f104ecf
Rollup merge of #145071 - cuviper:min-llvm-20, r=nikic
Zalathar Sep 17, 2025
f21a9c9
Rollup merge of #145181 - Borgerr:remove-fixme-from-has-sigdrop, r=lcnr
Zalathar Sep 17, 2025
6ad9875
Rollup merge of #145660 - jbatez:darwin_objc, r=jdonszelmann,madsmtm,…
Zalathar Sep 17, 2025
c2e8264
Rollup merge of #145838 - dianne:non-extending-super-let, r=jackh726,…
Zalathar Sep 17, 2025
79f8acb
Rollup merge of #146259 - camsteffen:remove-the-box, r=jackh726
Zalathar Sep 17, 2025
cefd932
Rollup merge of #146410 - hkBst:repeat-1, r=jhpratt
Zalathar Sep 17, 2025
c7af12e
Rollup merge of #146460 - simp4t7:add-tidy-readme, r=clubby789
Zalathar Sep 17, 2025
577f18f
Rollup merge of #146552 - cjgillot:resume-noremap, r=jackh726
Zalathar Sep 17, 2025
6473a0f
Rollup merge of #146564 - cjgillot:mir-nolen, r=scottmcm
Zalathar Sep 17, 2025
61f5358
Rollup merge of #146581 - estebank:issue-146489, r=lcnr
Zalathar Sep 17, 2025
76f1159
Rollup merge of #146588 - Gelbpunkt:musl-default-linking-test, r=jiey…
Zalathar Sep 17, 2025
4e6640b
Rollup merge of #146631 - Zalathar:di-builder, r=nnethercote
Zalathar Sep 17, 2025
1672251
Merge ref '3f1552a273e4' from rust-lang/rust
Sep 17, 2025
2ebb126
Auto merge of #146666 - Zalathar:rollup-m2b8low, r=Zalathar
bors Sep 17, 2025
9e8e4af
Merge pull request #4590 from rust-lang/rustup-2025-09-17
oli-obk Sep 17, 2025
ce6daf3
Auto merge of #142915 - cjgillot:dest-prop-default, r=saethlin
bors Sep 17, 2025
1110767
Add test for autodiff abi handling
Sa4dUs Jul 14, 2025
466bec9
Adjust autodiff actitivies for ScalarPair
Sa4dUs Jul 14, 2025
8dbd1b0
doc and move single branch match to an if let
Sa4dUs Jul 15, 2025
ef90d22
update enzyme submodule
ZuseZ4 Sep 17, 2025
0bf85d3
Support ZST args
Sa4dUs Aug 3, 2025
923d1be
Use `LLVMDIBuilderCreateMemberType`
Zalathar Sep 17, 2025
bb21dbe
Use `LLVMDIBuilderCreateStaticMemberType`
Zalathar Sep 17, 2025
002771a
Use `LLVMDIBuilderCreateQualifiedType`
Zalathar Sep 17, 2025
6b51f7c
Use `LLVMDIBuilderCreateTypedef`
Zalathar Sep 17, 2025
ea8bacc
rustc_codegen_llvm: Name major version of LLVM
a4lg Sep 17, 2025
d9f67cb
rustc_codegen_llvm: Simplify `arch` conversion
a4lg Sep 17, 2025
a1a3cd0
rustc_codegen_llvm: Reorder conversion cases
a4lg Sep 17, 2025
f37b9c0
fix(transmute_ptr_to_ref): don't suggest `.cast` when to-type is DST …
dswij Sep 17, 2025
6e10163
Add the `rust-analyzer.semanticHighlighting.comments.enable` configur…
btj Sep 17, 2025
5d1b897
Auto merge of #146331 - RalfJung:copy-prov-repeat, r=oli-obk
bors Sep 17, 2025
e04567c
Check ZST via `PassMode`
Sa4dUs Sep 17, 2025
1718127
Merge pull request #20583 from btj/comments-enable
ChayimFriedman2 Sep 17, 2025
28b0e4e
Fix applicable on variant field for change_visibility
A4-Tacks Sep 17, 2025
55570c9
Fix `unnecessary_unwrap` false negative (#12295) (#15689)
Alexendoo Sep 17, 2025
301092e
Remove automatic feature freeze comment
samueltardieu Sep 17, 2025
e84b5ca
Do not look for `Cargo.toml` inside `target`
samueltardieu Sep 17, 2025
b2b43b2
Add space after brace in `Box<[T]>::new_uninit_slice` example
XrXr Sep 17, 2025
bb7cdc2
Merge pull request #20682 from A4-Tacks/fix-change-vis-applicable-on-…
ShoyuVanilla Sep 17, 2025
205189c
port `#[rustc_coherence_is_core]` to the new attribute parsing infras…
jdonszelmann Aug 24, 2025
1d8971c
Cleanup `FnDecl::inner_full_print`
yotamofek Sep 16, 2025
c1f7829
`match_as_ref`: do not lint if other arm is not `None => None`
samueltardieu Sep 17, 2025
d457260
suggestion for `rest_pat_in_fully_bound_structs` (#15648)
samueltardieu Sep 17, 2025
90d0085
`match_as_ref`: do not lint if other arm is not `None => None` (#15693)
Alexendoo Sep 17, 2025
4645a79
Auto merge of #139849 - thaliaarchi:args/zkvm, r=ibraheemdev
bors Sep 17, 2025
0a2be63
Rollup merge of #146458 - Hayden602:bootstrap, r=Kobzol
jdonszelmann Sep 17, 2025
802343f
Rollup merge of #146485 - zachs18:store_fn_arg-no-unsized, r=davidtwco
jdonszelmann Sep 17, 2025
1c1d5c7
Rollup merge of #146536 - omskscream:#133895/clean-ui-tests, r=davidtwco
jdonszelmann Sep 17, 2025
9303a92
Rollup merge of #146598 - bjorn3:feature_llvm_enzyme, r=davidtwco
jdonszelmann Sep 17, 2025
be8c29c
Rollup merge of #146647 - jdonszelmann:move-coherence-is-core, r=urgau
jdonszelmann Sep 17, 2025
b8a80e4
Rollup merge of #146654 - samueltardieu:issue142534, r=Kobzol
jdonszelmann Sep 17, 2025
c6ed4c0
Rollup merge of #146681 - XrXr:patch-1, r=joboet
jdonszelmann Sep 17, 2025
9cdc09b
readdir for freebsd
LorrensP-2158466 Sep 16, 2025
19b9676
Merge pull request #4589 from LorrensP-2158466/freebsd-readdir
RalfJung Sep 17, 2025
80db273
Remove jujutsu directory from search tools.
Jarcho Sep 17, 2025
912785d
Lint overlapping assignments in MIR.
cjgillot Sep 13, 2025
9311767
Auto merge of #146685 - jdonszelmann:rollup-kwuih4z, r=jdonszelmann
bors Sep 17, 2025
7a5f0bd
Remove jujutsu directory from search tools. (#15695)
samueltardieu Sep 17, 2025
8d7ec96
add `[const] PartialEq` bound to `PartialOrd`
npmccallum Sep 12, 2025
f900758
std: Fix WASI implementation of `remove_dir_all`
alexcrichton Sep 17, 2025
a67fe9c
Do not look for `Cargo.toml` inside `target` (#15692)
Jarcho Sep 17, 2025
9ecca51
Remove ImplSubject
camsteffen Sep 16, 2025
a520c46
Merge pull request #20664 from ChayimFriedman2/coerce-ns
ChayimFriedman2 Sep 18, 2025
d5aa8d5
Rollup merge of #146566 - cjgillot:mir-overlap-lint, r=saethlin
Zalathar Sep 18, 2025
34a805b
Rollup merge of #146645 - yotamofek:pr/rustdoc/fndecl_inner_full_prin…
Zalathar Sep 18, 2025
540fd20
Rollup merge of #146664 - fmease:clean-up-dyn, r=jdonszelmann
Zalathar Sep 18, 2025
d1ed8d4
Rollup merge of #146673 - Zalathar:di-builder, r=nnethercote
Zalathar Sep 18, 2025
06cbfd6
Rollup merge of #146694 - camsteffen:impl-subject, r=compiler-errors
Zalathar Sep 18, 2025
15ce209
test cases for option_if_let_else
dgulotta Sep 18, 2025
4793ef5
Auto merge of #146698 - Zalathar:rollup-0oxl4gx, r=Zalathar
bors Sep 18, 2025
e1130b6
fix `option_if_let_else` when `Err` variant is ignored (#14429)
Manishearth Sep 18, 2025
8b0a254
Move target machine command-line quoting from C++ to Rust
Zalathar Sep 17, 2025
6e74905
Set lto="fat" automatically when compiling with RUSTFLAGS="-Zautodif…
Hayden602 Sep 3, 2025
a3c7f63
Remove automatic feature freeze comment (#15690)
blyxyas Sep 18, 2025
97a987f
Auto merge of #142544 - Sa4dUs:prevent-abi-changes, r=ZuseZ4
bors Sep 18, 2025
2c1f1f0
Add GenMC estimation mode. Improve error handling and output printing.
Patrick-6 Sep 8, 2025
72fb9b2
Remove feature-freeze from gh templates
lukaslueg Sep 18, 2025
8428b16
Remove feature-freeze from gh templates (#15698)
samueltardieu Sep 18, 2025
68473ad
Check that `.unwrap_or(LITERAL)` doesn't trigger `unwrap_or_default`
samueltardieu Sep 18, 2025
ad21dff
Do not replace `.unwrap_or(vec![])` by `.unwrap_or_default()`
samueltardieu Sep 18, 2025
32e3d9f
Auto merge of #146671 - ZuseZ4:update-enzyme-submodule, r=davidtwco
bors Sep 18, 2025
f4e19c6
support calls on opaque types :<
lcnr Sep 11, 2025
9913c47
add tests, silence type annotations needed errors for opaques
lcnr Sep 15, 2025
9264673
Add regression test for issue 91831
aklaiber Sep 16, 2025
2ed5373
Clean up universe evaluation during type test evaluation
amandasystems Sep 18, 2025
4a8b7ea
Do not replace `.unwrap_or(vec![])` by `.unwrap_or_default()` (#15699)
Jarcho Sep 18, 2025
495d7ee
Include patch in release notes
Mark-Simulacrum Sep 18, 2025
4cd91ef
Auto merge of #145993 - lcnr:allow-calling-opaques, r=BoxyUwU
bors Sep 18, 2025
7e270ab
chore: Update rustc deps
ShoyuVanilla Sep 18, 2025
42466b5
Merge pull request #20690 from ShoyuVanilla/update-rustc
lnicola Sep 18, 2025
4b109ed
`redundant_clone`: split iterator checks into `redundant_iter_cloned`…
blyxyas Sep 18, 2025
2d3efb0
Merge remote-tracking branch 'upstream/master' into rustup
flip1995 Sep 18, 2025
2c73502
Bump nightly version -> 2025-09-18
flip1995 Sep 18, 2025
6b14443
Bump Clippy version -> 0.1.92
flip1995 Sep 18, 2025
20ce69b
Rustup (#15704)
flip1995 Sep 18, 2025
185926c
Rollup merge of #146434 - folkertdev:c-variadic-inherent-methods, r=w…
matthiaskrgr Sep 18, 2025
fd852f4
Rollup merge of #146487 - ferrocene:pvdrz/improve-num-coverage, r=joboet
matthiaskrgr Sep 18, 2025
b7ab58e
Rollup merge of #146597 - modhanami:add-struct-tail-recursion-limit-s…
matthiaskrgr Sep 18, 2025
f28730f
Rollup merge of #146622 - aklaiber:91831_add_regression_test, r=jdons…
matthiaskrgr Sep 18, 2025
3afe1ca
Rollup merge of #146717 - amandasystems:remove-placeholder-hack, r=lcnr
matthiaskrgr Sep 18, 2025
24d6259
Rollup merge of #146723 - Mark-Simulacrum:relnotes-fix, r=Kobzol
matthiaskrgr Sep 18, 2025
1bfe3bc
Merge commit '20ce69b9a63bcd2756cd906fe0964d1e901e042a' into clippy-s…
flip1995 Sep 18, 2025
5d1619b
Update Cargo.lock
flip1995 Sep 18, 2025
c6b4f6f
Bump rustc crates again
lnicola Sep 18, 2025
4f24cc6
Merge pull request #20691 from lnicola/bump-rustc-again
ShoyuVanilla Sep 18, 2025
7f55f57
Allow windows resource compiler to be overridden
erickt Sep 12, 2025
0c0c58b
Auto merge of #146727 - matthiaskrgr:rollup-98812uj, r=matthiaskrgr
bors Sep 18, 2025
60f0407
fix: Fix `indexmap` with `in-rust-tree`
ShoyuVanilla Sep 18, 2025
ddbfd3a
Merge pull request #20693 from ShoyuVanilla/fix-indexmap-in-tree
lnicola Sep 18, 2025
3ba8b8e
minor: Yet another rustc crates bump
ShoyuVanilla Sep 18, 2025
9348de0
Merge pull request #20694 from ShoyuVanilla/bump-rustc
lnicola Sep 18, 2025
00bfe9c
tweak genmc error report note
RalfJung Sep 18, 2025
01cd04f
fix: Fix one more thing in `in-rust-tree`
ShoyuVanilla Sep 18, 2025
c68acff
Merge pull request #20695 from ShoyuVanilla/fix-another-in-tree
ShoyuVanilla Sep 18, 2025
045e5e3
Merge pull request #4583 from Patrick-6/miri-genmc-estimation
RalfJung Sep 18, 2025
eb7abeb
Specialize `Iterator::eq[_by]` for `TrustedLen` iterators
yotamofek Feb 16, 2025
f19b560
implement sqrt for f16 and f128
RalfJung Sep 18, 2025
7c275d0
Auto merge of #146728 - flip1995:clippy-subtree-update, r=samueltardieu
bors Sep 18, 2025
77f2d86
share sqrt implemention across float types
RalfJung Sep 18, 2025
45e5c76
fix tidy spellchecking on windows
beepster4096 Sep 18, 2025
11ffdb5
Merge pull request #4592 from RalfJung/sqrt
RalfJung Sep 18, 2025
7af6e59
update lockfile
RalfJung Sep 18, 2025
a08e649
move `mod canonical` out of `eval_ctxt`
lcnr Sep 16, 2025
b83c0f0
canonical: yeet `EvalCtxt`, mk `Canonicalizer` private
lcnr Sep 16, 2025
47d6936
fix negative const generic integer literals
Sep 18, 2025
2f4dfc7
Auto merge of #137122 - yotamofek:pr/std/iter-eq-exact-size, r=the8472
bors Sep 18, 2025
934ee04
Plumb Allocator generic into `std::vec::PeekMut`
cammeresi Sep 14, 2025
7ce81d1
deref related cleanups in ref_prop
beepster4096 Aug 26, 2025
6870e24
Set WithCachedTypeInfo::stable_hash when in-tree
lnicola Sep 19, 2025
fefecbc
Merge pull request #20699 from lnicola/ena-fingerprint
lnicola Sep 19, 2025
f69da33
Add `#[track_caller]` for check_assist_by_label
A4-Tacks Sep 19, 2025
1db74d4
fix miri bootstrap build
RalfJung Sep 19, 2025
be01d87
Allow running remote-test-server on Apple simulators
madsmtm Sep 19, 2025
09d3120
std: simplify host lookup
joboet Sep 14, 2025
b30c1b5
Document how to test with iOS/tvOS/watchOS/visionOS simulator
madsmtm Sep 19, 2025
37be934
Fix test suite in iOS/tvOS/watchOS/visionOS simulator
madsmtm Sep 19, 2025
e10aa88
Auto merge of #145737 - cjgillot:gvn-valueset, r=saethlin
bors Sep 19, 2025
ac9b55e
Rollup merge of #146229 - Hayden602:issue-142796-fix, r=ZuseZ4
Zalathar Sep 19, 2025
fe0b519
Rollup merge of #146484 - notriddle:stringdex-js-opt, r=GuillaumeGomez
Zalathar Sep 19, 2025
ff8d63a
Rollup merge of #146541 - joboet:simplify-lookup-host, r=tgross35
Zalathar Sep 19, 2025
19211df
Rollup merge of #146615 - a4lg:codegen-llvm-feature-conversion-tidyin…
Zalathar Sep 19, 2025
aa2bb56
Rollup merge of #146638 - lcnr:canonical-separate-module, r=BoxyUwU
Zalathar Sep 19, 2025
743f70b
Rollup merge of #146663 - erickt:win, r=wesleywiser
Zalathar Sep 19, 2025
20b6f75
Rollup merge of #146691 - alexcrichton:wasip1-remove-dir-all-buffer, …
Zalathar Sep 19, 2025
e09cc55
Rollup merge of #146709 - a4lg:stdarch-sync-20250917, r=Kobzol
Zalathar Sep 19, 2025
a2c7008
Rollup merge of #146738 - beepster4096:widnows, r=jieyouxu
Zalathar Sep 19, 2025
5d404e0
Rollup merge of #146740 - RalfJung:miri, r=RalfJung
Zalathar Sep 19, 2025
bf5fe6e
minor: Get rid of unused deps `chalk-solve` and `chalk-recursive`
ShoyuVanilla Sep 19, 2025
b1d9569
Merge pull request #20703 from ShoyuVanilla/remove-chalk-solve
lnicola Sep 19, 2025
9ba9869
address review feedback
Sep 19, 2025
6ec196a
Merge pull request #20697 from Oblarg/fix-negative-const-generic-lite…
ShoyuVanilla Sep 19, 2025
58814bc
Allow running `x <cmd> <path>` from a different directory
Kobzol Sep 19, 2025
e500dd8
fixes for numerous clippy warnings
hkBst Sep 19, 2025
04f6b8f
fix ./x readdir logic when CDPATH is set
RalfJung Sep 19, 2025
300aee8
Merge pull request #20701 from A4-Tacks/track-caller-assist-test
ChayimFriedman2 Sep 19, 2025
3ab89ab
mbe: Fix feature gate for `macro_derive`
joshtriplett Sep 19, 2025
5904356
Auto merge of #146765 - Zalathar:rollup-ewh4s9o, r=Zalathar
bors Sep 19, 2025
e2de670
btree: safety comments for init and new
hkBst Sep 19, 2025
4b75514
Simplify default value of `download-ci-llvm`
Kobzol Sep 19, 2025
0be8e16
Auto merge of #146700 - Zalathar:quoted-args, r=nikic
bors Sep 19, 2025
b279428
naked_asm: emit a label starting with `func_end`
folkertdev Sep 19, 2025
96a4ae3
Rollup merge of #146690 - npmccallum:convo, r=tgross35
matthiaskrgr Sep 19, 2025
29f3942
Rollup merge of #146776 - hkBst:clippy-fix-12, r=jdonszelmann
matthiaskrgr Sep 19, 2025
dc3c62a
Rollup merge of #146777 - RalfJung:x-cdpath, r=Kobzol
matthiaskrgr Sep 19, 2025
02faee6
Rollup merge of #146781 - joshtriplett:mbe-derive-fix-feature-gate, r…
matthiaskrgr Sep 19, 2025
6f9e6c9
Rollup merge of #146785 - hkBst:btree-1, r=joboet
matthiaskrgr Sep 19, 2025
54b15a6
fixes for numerous clippy warnings
hkBst Sep 19, 2025
ec38671
Auto merge of #146797 - matthiaskrgr:rollup-xy0g8n7, r=matthiaskrgr
bors Sep 19, 2025
4841d8c
generate list of all variants with `target_spec_enum`
fee1-dead Sep 19, 2025
6a58381
Fix unsupported std::sys::thread
thaliaarchi Sep 20, 2025
776c199
Fix std build for xtensa
thaliaarchi Sep 20, 2025
db4d4ef
Update cfg_if! to cfg_select!
thaliaarchi Sep 20, 2025
42b38e3
Add unstable attribute to BTreeMap-related allocator generics
cammeresi Sep 20, 2025
e4b5219
Auto merge of #146621 - cammeresi:peek-20250915, r=Amanieu
bors Sep 20, 2025
4d8655e
Bump rustc crates once more
lnicola Sep 20, 2025
0afd767
Merge pull request #20707 from lnicola/bump-rustc
lnicola Sep 20, 2025
b00998a
Auto merge of #146771 - Kobzol:download-ci-llvm-default-value, r=jiey…
bors Sep 20, 2025
ac3c480
docs: improve doc of some methods w/ ranges
tkr-sh May 13, 2025
9f2ef0f
Auto merge of #146805 - lnicola:sync-from-ra, r=lnicola
bors Sep 20, 2025
5f8062b
Rollup merge of #144592 - fee1-dead-contrib:target_spec, r=Noratrieb
matthiaskrgr Sep 20, 2025
8904ff1
Rollup merge of #146762 - madsmtm:test-apple-sim, r=jieyouxu
matthiaskrgr Sep 20, 2025
016420a
Rollup merge of #146770 - hkBst:clippy-fix-10, r=fmease
matthiaskrgr Sep 20, 2025
f5725f0
Rollup merge of #146774 - Kobzol:bootstrap-relative-path, r=jieyouxu
matthiaskrgr Sep 20, 2025
48c1249
Rollup merge of #146800 - thaliaarchi:fix-move-pal-thread, r=joboet
matthiaskrgr Sep 20, 2025
fd7f8b2
[GCC backend] Ignore failing ui abi tests
GuillaumeGomez Sep 20, 2025
dd7fda5
Auto merge of #146812 - matthiaskrgr:rollup-aiap18m, r=matthiaskrgr
bors Sep 20, 2025
5c0cb3a
Fix old typo in lang_start_internal comment
saethlin Sep 20, 2025
d253318
Rollup merge of #140983 - tkr-sh:master, r=ibraheemdev
Zalathar Sep 21, 2025
7a5819d
Rollup merge of #144091 - thaliaarchi:stabilize-new-zeroed, r=Mark-Si…
Zalathar Sep 21, 2025
b0c55c8
Rollup merge of #145664 - Darksonn:stab-file-with-nul, r=Mark-Simulacrum
Zalathar Sep 21, 2025
6333a8b
Rollup merge of #146551 - folkertdev:cmse-entry-c-variadic, r=working…
Zalathar Sep 21, 2025
5c1c479
Rollup merge of #146744 - beepster4096:derefs_in_ref_prop, r=cjgillot
Zalathar Sep 21, 2025
92ea947
Rollup merge of #146793 - folkertdev:naked-asm-func-end, r=Amanieu
Zalathar Sep 21, 2025
be39572
Rollup merge of #146820 - cammeresi:alloc-20250919, r=tgross35
Zalathar Sep 21, 2025
5224279
Rollup merge of #146822 - saethlin:bbbbbstd, r=Noratrieb
Zalathar Sep 21, 2025
dfa2223
Auto merge of #146830 - Zalathar:rollup-lj8jfok, r=Zalathar
bors Sep 21, 2025
1d23da6
Auto merge of #146779 - GuillaumeGomez:gcc-ignore-test_ui_abi, r=Kobz…
bors Sep 21, 2025
1bc1993
make cargo test work for bootstrap self test
Shourya742 Sep 15, 2025
a12969e
walk up the ancestors
Shourya742 Sep 15, 2025
6c79f54
add an API in ConfigBuilder to point to config file for toml parsing
Shourya742 Sep 16, 2025
d488d33
let verify method run in test settings
Shourya742 Sep 16, 2025
ce4604e
remove using default toml config for test in get_toml, we handle it v…
Shourya742 Sep 16, 2025
24ed1a0
allow symlinking during test
Shourya742 Sep 16, 2025
05131bd
move most of the test to new testCtx
Shourya742 Sep 16, 2025
a29474d
this is dicy, whether we have a method to explicitly enable_llvm_over…
Shourya742 Sep 16, 2025
0c68c82
rename config_toml to with_default_toml_config
Shourya742 Sep 21, 2025
9189bf7
remove create_config_without_ci_llvm_override duplication
Shourya742 Sep 21, 2025
671aabd
add dry_run flag in config builder and remove runtime test hacks
Shourya742 Sep 21, 2025
afe380d
initialize out with CARGO_TARGET_DIR and then go for manifest and the…
Shourya742 Sep 21, 2025
a48cd76
add explicit config assignment when running the test, as the src is a…
Shourya742 Sep 21, 2025
33e262e
remove prepare_test_specific_dir and update tests accordingly
Shourya742 Sep 21, 2025
6adbb3a
remove explicit target assignment in config during rustc initialization
Shourya742 Sep 22, 2025
8a0e380
add check for toml file
Shourya742 Sep 22, 2025
83b784f
add comment explaining the test_build_dir
Shourya742 Sep 22, 2025
aaa82ae
move config check logic from get_toml to parse_inner
Shourya742 Sep 22, 2025
079addf
Ensure that `--build-dir` is always specified in tests
Kobzol Sep 25, 2025
191c7ed
Make `cargo test` work again
Kobzol Sep 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,7 @@ Shohei Wada <[email protected]>
Shotaro Yamada <[email protected]>
Shotaro Yamada <[email protected]> <[email protected]>
Shyam Sundar B <[email protected]>
Sidney Cammeresi <[email protected]> <[email protected]>
Simon Barber-Dueck <[email protected]> Simon BD <simon@server>
Simon Sapin <[email protected]> <[email protected]>
Simonas Kazlauskas <[email protected]> Simonas Kazlauskas <[email protected]>
Expand Down
52 changes: 30 additions & 22 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ checksum = "b94f61472cee1439c0b966b47e3aca9ae07e45d070759512cd390ea2bebc6675"

[[package]]
name = "clippy"
version = "0.1.91"
version = "0.1.92"
dependencies = [
"anstream",
"askama",
Expand All @@ -595,7 +595,7 @@ dependencies = [

[[package]]
name = "clippy_config"
version = "0.1.91"
version = "0.1.92"
dependencies = [
"clippy_utils",
"itertools",
Expand All @@ -618,7 +618,7 @@ dependencies = [

[[package]]
name = "clippy_lints"
version = "0.1.91"
version = "0.1.92"
dependencies = [
"arrayvec",
"cargo_metadata 0.18.1",
Expand Down Expand Up @@ -649,7 +649,7 @@ dependencies = [

[[package]]
name = "clippy_utils"
version = "0.1.91"
version = "0.1.92"
dependencies = [
"arrayvec",
"itertools",
Expand All @@ -674,7 +674,7 @@ checksum = "fe6d2e5af09e8c8ad56c969f2157a3d4238cebc7c55f0a517728c38f7b200f81"
dependencies = [
"serde",
"termcolor",
"unicode-width 0.1.14",
"unicode-width 0.2.1",
]

[[package]]
Expand Down Expand Up @@ -937,23 +937,24 @@ dependencies = [

[[package]]
name = "cxx"
version = "1.0.168"
version = "1.0.185"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7aa144b12f11741f0dab5b4182896afad46faa0598b6a061f7b9d17a21837ba7"
checksum = "2f81de88da10862f22b5b3a60f18f6f42bbe7cb8faa24845dd7b1e4e22190e77"
dependencies = [
"cc",
"cxx-build",
"cxxbridge-cmd",
"cxxbridge-flags",
"cxxbridge-macro",
"foldhash",
"foldhash 0.2.0",
"link-cplusplus",
]

[[package]]
name = "cxx-build"
version = "1.0.168"
version = "1.0.185"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "12d3cbb84fb003242941c231b45ca9417e786e66e94baa39584bd99df3a270b6"
checksum = "5edd58bf75c3fdfc80d79806403af626570662f7b6cc782a7fabe156166bd6d6"
dependencies = [
"cc",
"codespan-reporting",
Expand All @@ -966,9 +967,9 @@ dependencies = [

[[package]]
name = "cxxbridge-cmd"
version = "1.0.168"
version = "1.0.185"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3fa36b7b249d43f67a3f54bd65788e35e7afe64bbc671396387a48b3e8aaea94"
checksum = "fd46bf2b541a4e0c2d5abba76607379ee05d68e714868e3cb406dc8d591ce2d2"
dependencies = [
"clap",
"codespan-reporting",
Expand All @@ -980,15 +981,15 @@ dependencies = [

[[package]]
name = "cxxbridge-flags"
version = "1.0.168"
version = "1.0.185"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "77707c70f6563edc5429618ca34a07241b75ebab35bd01d46697c75d58f8ddfe"
checksum = "2c79b68f6a3a8f809d39b38ae8af61305a6113819b19b262643b9c21353b92d9"

[[package]]
name = "cxxbridge-macro"
version = "1.0.168"
version = "1.0.185"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ede6c0fb7e318f0a11799b86ee29dcf17b9be2960bd379a6c38e1a96a6010fff"
checksum = "862b7fdb048ff9ef0779a0d0a03affd09746c4c875543746b640756be9cff2af"
dependencies = [
"indexmap",
"proc-macro2",
Expand Down Expand Up @@ -1051,7 +1052,7 @@ dependencies = [

[[package]]
name = "declare_clippy_lint"
version = "0.1.91"
version = "0.1.92"

[[package]]
name = "derive-where"
Expand Down Expand Up @@ -1388,6 +1389,12 @@ version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2"

[[package]]
name = "foldhash"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb"

[[package]]
name = "form_urlencoded"
version = "1.2.1"
Expand Down Expand Up @@ -1567,7 +1574,7 @@ checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1"
dependencies = [
"allocator-api2",
"equivalent",
"foldhash",
"foldhash 0.1.5",
"serde",
]

Expand Down Expand Up @@ -2160,9 +2167,9 @@ dependencies = [

[[package]]
name = "link-cplusplus"
version = "1.0.10"
version = "1.0.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4a6f6da007f968f9def0d65a05b187e2960183de70c160204ecfccf0ee330212"
checksum = "7f78c730aaa7d0b9336a299029ea49f9ee53b0ed06e9202e8cb7db9bae7b8c82"
dependencies = [
"cc",
]
Expand Down Expand Up @@ -4235,6 +4242,7 @@ name = "rustc_mir_transform"
version = "0.0.0"
dependencies = [
"either",
"hashbrown",
"itertools",
"rustc_abi",
"rustc_arena",
Expand Down Expand Up @@ -4817,9 +4825,9 @@ dependencies = [

[[package]]
name = "rustfix"
version = "0.8.1"
version = "0.8.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "81864b097046da5df3758fdc6e4822bbb70afa06317e8ca45ea1b51cb8c5e5a4"
checksum = "82fa69b198d894d84e23afde8e9ab2af4400b2cba20d6bf2b428a8b01c222c5a"
dependencies = [
"serde",
"serde_json",
Expand Down
126 changes: 126 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,129 @@
Version 1.90.0 (2025-09-18)
===========================

<a id="1.90-Language"></a>

Language
--------
- [Split up the `unknown_or_malformed_diagnostic_attributes` lint](https://github.com/rust-lang/rust/pull/140717). This lint has been split up into four finer-grained lints, with `unknown_or_malformed_diagnostic_attributes` now being the lint group that contains these lints:
1. `unknown_diagnostic_attributes`: unknown to the current compiler
2. `misplaced_diagnostic_attributes`: placed on the wrong item
3. `malformed_diagnostic_attributes`: malformed attribute syntax or options
4. `malformed_diagnostic_format_literals`: malformed format string literal
- [Allow constants whose final value has references to mutable/external memory, but reject such constants as patterns](https://github.com/rust-lang/rust/pull/140942)
- [Allow volatile access to non-Rust memory, including address 0](https://github.com/rust-lang/rust/pull/141260)


<a id="1.90-Compiler"></a>

Compiler
--------
- [Use `lld` by default on `x86_64-unknown-linux-gnu`](https://github.com/rust-lang/rust/pull/140525).
- [Tier 3 `musl` targets now link dynamically by default](https://github.com/rust-lang/rust/pull/144410). Affected targets:
- `mips64-unknown-linux-muslabi64`
- `powerpc64-unknown-linux-musl`
- `powerpc-unknown-linux-musl`
- `powerpc-unknown-linux-muslspe`
- `riscv32gc-unknown-linux-musl`
- `s390x-unknown-linux-musl`
- `thumbv7neon-unknown-linux-musleabihf`


<a id="1.90-Platform-Support"></a>

Platform Support
----------------
- [Demote `x86_64-apple-darwin` to Tier 2 with host tools](https://github.com/rust-lang/rust/pull/145252)


Refer to Rust's [platform support page][platform-support-doc]
for more information on Rust's tiered platform support.

[platform-support-doc]: https://doc.rust-lang.org/rustc/platform-support.html

<a id="1.90-Libraries"></a>

Libraries
---------
- [Stabilize `u*::{checked,overflowing,saturating,wrapping}_sub_signed`](https://github.com/rust-lang/rust/issues/126043)
- [Allow comparisons between `CStr`, `CString`, and `Cow<CStr>`](https://github.com/rust-lang/rust/pull/137268)
- [Remove some unsized tuple impls since unsized tuples can't be constructed](https://github.com/rust-lang/rust/pull/138340)
- [Set `MSG_NOSIGNAL` for `UnixStream`](https://github.com/rust-lang/rust/pull/140005)
- [`proc_macro::Ident::new` now supports `$crate`.](https://github.com/rust-lang/rust/pull/141996)
- [Guarantee the pointer returned from `Thread::into_raw` has at least 8 bytes of alignment](https://github.com/rust-lang/rust/pull/143859)


<a id="1.90-Stabilized-APIs"></a>

Stabilized APIs
---------------

- [`u{n}::checked_sub_signed`](https://doc.rust-lang.org/stable/std/primitive.usize.html#method.checked_sub_signed)
- [`u{n}::overflowing_sub_signed`](https://doc.rust-lang.org/stable/std/primitive.usize.html#method.overflowing_sub_signed)
- [`u{n}::saturating_sub_signed`](https://doc.rust-lang.org/stable/std/primitive.usize.html#method.saturating_sub_signed)
- [`u{n}::wrapping_sub_signed`](https://doc.rust-lang.org/stable/std/primitive.usize.html#method.wrapping_sub_signed)
- [`impl Copy for IntErrorKind`](https://doc.rust-lang.org/stable/std/num/enum.IntErrorKind.html#impl-Copy-for-IntErrorKind)
- [`impl Hash for IntErrorKind`](https://doc.rust-lang.org/stable/std/num/enum.IntErrorKind.html#impl-Hash-for-IntErrorKind)
- [`impl PartialEq<&CStr> for CStr`](https://doc.rust-lang.org/stable/std/ffi/struct.CStr.html#impl-PartialEq%3C%26CStr%3E-for-CStr)
- [`impl PartialEq<CString> for CStr`](https://doc.rust-lang.org/stable/std/ffi/struct.CStr.html#impl-PartialEq%3CCString%3E-for-CStr)
- [`impl PartialEq<Cow<CStr>> for CStr`](https://doc.rust-lang.org/stable/std/ffi/struct.CStr.html#impl-PartialEq%3CCow%3C'_,+CStr%3E%3E-for-CStr)
- [`impl PartialEq<&CStr> for CString`](https://doc.rust-lang.org/stable/std/ffi/struct.CString.html#impl-PartialEq%3C%26CStr%3E-for-CString)
- [`impl PartialEq<CStr> for CString`](https://doc.rust-lang.org/stable/std/ffi/struct.CString.html#impl-PartialEq%3CCStr%3E-for-CString)
- [`impl PartialEq<Cow<CStr>> for CString`](https://doc.rust-lang.org/stable/std/ffi/struct.CString.html#impl-PartialEq%3CCow%3C'_,+CStr%3E%3E-for-CString)
- [`impl PartialEq<&CStr> for Cow<CStr>`](https://doc.rust-lang.org/stable/std/borrow/enum.Cow.html#impl-PartialEq%3C%26CStr%3E-for-Cow%3C'_,+CStr%3E)
- [`impl PartialEq<CStr> for Cow<CStr>`](https://doc.rust-lang.org/stable/std/borrow/enum.Cow.html#impl-PartialEq%3CCStr%3E-for-Cow%3C'_,+CStr%3E)
- [`impl PartialEq<CString> for Cow<CStr>`](https://doc.rust-lang.org/stable/std/borrow/enum.Cow.html#impl-PartialEq%3CCString%3E-for-Cow%3C'_,+CStr%3E)


These previously stable APIs are now stable in const contexts:

- [`<[T]>::reverse`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.reverse)
- [`f32::floor`](https://doc.rust-lang.org/stable/std/primitive.f32.html#method.floor)
- [`f32::ceil`](https://doc.rust-lang.org/stable/std/primitive.f32.html#method.ceil)
- [`f32::trunc`](https://doc.rust-lang.org/stable/std/primitive.f32.html#method.trunc)
- [`f32::fract`](https://doc.rust-lang.org/stable/std/primitive.f32.html#method.fract)
- [`f32::round`](https://doc.rust-lang.org/stable/std/primitive.f32.html#method.round)
- [`f32::round_ties_even`](https://doc.rust-lang.org/stable/std/primitive.f32.html#method.round_ties_even)
- [`f64::floor`](https://doc.rust-lang.org/stable/std/primitive.f64.html#method.floor)
- [`f64::ceil`](https://doc.rust-lang.org/stable/std/primitive.f64.html#method.ceil)
- [`f64::trunc`](https://doc.rust-lang.org/stable/std/primitive.f64.html#method.trunc)
- [`f64::fract`](https://doc.rust-lang.org/stable/std/primitive.f64.html#method.fract)
- [`f64::round`](https://doc.rust-lang.org/stable/std/primitive.f64.html#method.round)
- [`f64::round_ties_even`](https://doc.rust-lang.org/stable/std/primitive.f64.html#method.round_ties_even)


<a id="1.90-Cargo"></a>

Cargo
-----
- [Add `http.proxy-cainfo` config for proxy certs](https://github.com/rust-lang/cargo/pull/15374/)
- [Use `gix` for `cargo package`](https://github.com/rust-lang/cargo/pull/15534/)
- [feat(publish): Stabilize multi-package publishing](https://github.com/rust-lang/cargo/pull/15636/)

<a id="1.90-Rustdoc"></a>

Rustdoc
-----
- [Add ways to collapse all impl blocks](https://github.com/rust-lang/rust/pull/141663). Previously the "Summary" button and "-" keyboard shortcut would never collapse `impl` blocks, now they do when shift is held
- [Display unsafe attributes with `unsafe()` wrappers](https://github.com/rust-lang/rust/pull/143662)


<a id="1.90-Compatibility-Notes"></a>

Compatibility Notes
-------------------
- [Use `lld` by default on `x86_64-unknown-linux-gnu`](https://github.com/rust-lang/rust/pull/140525).
See also <https://blog.rust-lang.org/2025/09/01/rust-lld-on-1.90.0-stable/>.
- [Make `core::iter::Fuse`'s `Default` impl construct `I::default()` internally as promised in the docs instead of always being empty](https://github.com/rust-lang/rust/pull/140985)
- [Set `MSG_NOSIGNAL` for `UnixStream`](https://github.com/rust-lang/rust/pull/140005)
This may change program behavior but results in the same behavior as other primitives (e.g., stdout, network sockets).
Programs relying on signals to terminate them should update handling of sockets to handle errors on write by exiting.
- [On Unix `std::env::home_dir` will use the fallback if the `HOME` environment variable is empty](https://github.com/rust-lang/rust/pull/141840)
- We now [reject unsupported `extern "{abi}"`s consistently in all positions](https://github.com/rust-lang/rust/pull/142134). This primarily affects the use of implementing traits on an `extern "{abi}"` function pointer, like `extern "stdcall" fn()`, on a platform that doesn't support that, like aarch64-unknown-linux-gnu. Direct usage of these unsupported ABI strings by declaring or defining functions was already rejected, so this is only a change for consistency.
- [const-eval: error when initializing a static writes to that static](https://github.com/rust-lang/rust/pull/143084)
- [Check that the `proc_macro_derive` macro has correct arguments when applied to the crate root](https://github.com/rust-lang/rust/pull/143607)


Version 1.89.0 (2025-08-07)
==========================

Expand Down
11 changes: 11 additions & 0 deletions bootstrap.example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,9 @@
# Defaults to the Python interpreter used to execute x.py.
#build.python = "python"

# The path to (or name of) the resource compiler executable to use on Windows.
#build.windows-rc = "rc.exe"

# The path to the REUSE executable to use. Note that REUSE is not required in
# most cases, as our tooling relies on a cached (and shrunk) copy of the
# REUSE output present in the git repository and in our source tarballs.
Expand Down Expand Up @@ -859,6 +862,14 @@
# Trigger a `DebugBreak` after an internal compiler error during bootstrap on Windows
#rust.break-on-ice = true

# Set the number of threads for the compiler frontend used during compilation of Rust code (passed to `-Zthreads`).
# The valid options are:
# 0 - Set the number of threads according to the detected number of threads of the host system
# 1 - Use a single thread for compilation of Rust code (the default)
# N - Number of threads used for compilation of Rust code
#
#rust.parallel-frontend-threads = 1

# =============================================================================
# Distribution options
#
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ features = ['unprefixed_malloc_on_supported_platforms']
check_only = ['rustc_driver_impl/check_only']
jemalloc = ['dep:tikv-jemalloc-sys']
llvm = ['rustc_driver_impl/llvm']
llvm_enzyme = ['rustc_driver_impl/llvm_enzyme']
max_level_info = ['rustc_driver_impl/max_level_info']
rustc_randomized_layouts = ['rustc_driver_impl/rustc_randomized_layouts']
# tidy-alphabetical-end
Expand Down
2 changes: 0 additions & 2 deletions compiler/rustc_ast_passes/messages.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ ast_passes_body_in_extern = incorrect `{$kind}` inside `extern` block

ast_passes_bound_in_context = bounds on `type`s in {$ctx} have no effect

ast_passes_c_variadic_associated_function = associated functions cannot have a C variable argument list

ast_passes_c_variadic_bad_extern = `...` is not supported for `extern "{$abi}"` functions
.label = `extern "{$abi}"` because of this
.help = only `extern "C"` and `extern "C-unwind"` functions may have a C variable argument list
Expand Down
7 changes: 1 addition & 6 deletions compiler/rustc_ast_passes/src/ast_validation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ impl<'a> AstValidator<'a> {

match fn_ctxt {
FnCtxt::Foreign => return,
FnCtxt::Free => match sig.header.ext {
FnCtxt::Free | FnCtxt::Assoc(_) => match sig.header.ext {
Extern::Implicit(_) => {
if !matches!(sig.header.safety, Safety::Unsafe(_)) {
self.dcx().emit_err(errors::CVariadicMustBeUnsafe {
Expand Down Expand Up @@ -726,11 +726,6 @@ impl<'a> AstValidator<'a> {
self.dcx().emit_err(err);
}
},
FnCtxt::Assoc(_) => {
// For now, C variable argument lists are unsupported in associated functions.
let err = errors::CVariadicAssociatedFunction { span: variadic_param.span };
self.dcx().emit_err(err);
}
}
}

Expand Down
7 changes: 0 additions & 7 deletions compiler/rustc_ast_passes/src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -318,13 +318,6 @@ pub(crate) struct ExternItemAscii {
pub block: Span,
}

#[derive(Diagnostic)]
#[diag(ast_passes_c_variadic_associated_function)]
pub(crate) struct CVariadicAssociatedFunction {
#[primary_span]
pub span: Span,
}

#[derive(Diagnostic)]
#[diag(ast_passes_c_variadic_no_extern)]
#[help]
Expand Down
8 changes: 8 additions & 0 deletions compiler/rustc_attr_parsing/messages.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,14 @@ attr_parsing_null_on_export = `export_name` may not contain null characters

attr_parsing_null_on_link_section = `link_section` may not contain null characters

attr_parsing_null_on_objc_class = `objc::class!` may not contain null characters

attr_parsing_null_on_objc_selector = `objc::selector!` may not contain null characters

attr_parsing_objc_class_expected_string_literal = `objc::class!` expected a string literal

attr_parsing_objc_selector_expected_string_literal = `objc::selector!` expected a string literal

attr_parsing_repr_ident =
meta item in `repr` must be an identifier

Expand Down
Loading
Loading