Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
308 commits
Select commit Hold shift + click to select a range
e94c0e6
Reject invalid direct_const_arg nested owners
Dnreikronos Jul 13, 2026
8583c9a
Add regression test for issue 95719
Joel-Wwalker Jul 13, 2026
d376c08
chore: add codegen test for remainder match
amirHdev Jul 13, 2026
09882ef
inline Once wait and wait_force
vilgotf Jul 13, 2026
9561a52
Bump rustc-perf submodule
Kobzol Jul 13, 2026
aa53fee
std_detect: Eliminate incorrect symlink in macro arm
joshtriplett Jul 13, 2026
5f35fc8
Replace shortened type with `_` instead of `...` as placeholder
estebank Jul 13, 2026
6866a94
Account for async closures when pointing at lifetime in return type
estebank Jul 13, 2026
8e12609
Add regression test for issue 144033
Joel-Wwalker Jul 14, 2026
bf52201
Skip intrinsic-test when rustfmt is unavailable
xonx4l Jul 14, 2026
f3f4235
Simplify regression test for issue 144033
Joel-Wwalker Jul 14, 2026
ca15064
Add regression test
oli-obk Jun 12, 2026
5b3e95d
Add regression test
oli-obk Jun 12, 2026
7139a2b
disable range-len-try-from.rs on s390x
fneddy Jul 14, 2026
edbbeae
Update tidy licenses
Kobzol Jul 13, 2026
9aa459e
Only force backtraces when a panic occurs in bootstrap
Kobzol Jul 14, 2026
cfa34fa
Clarify multi-value comment
Kobzol Jul 14, 2026
7d5c925
slice: make swap delegate to swap_unchecked
Rachit2323 Jul 14, 2026
661ae59
avoid duplicated Link reference definition
tshepang Jul 14, 2026
313c4f2
lighter markup
tshepang Jul 14, 2026
e866d9d
reflow
tshepang Jul 14, 2026
b182157
fix punctuation
tshepang Jul 14, 2026
394d969
tidy: handle large numeric sort keys
kn1g78 Jul 14, 2026
dff3fde
Rename `std_crates_for_run_make` to `std_crates_for_make_run`
Zalathar Jul 14, 2026
070dd68
remove obsolete comment
tshepang Jul 14, 2026
d97dfee
sembr src/ambig-unambig-ty-and-consts.md
tshepang Jul 14, 2026
95362d8
improve ambig-unambig-ty-and-consts.md
tshepang Jul 14, 2026
887fb7e
sembr src/mir/optimizations.md
tshepang Jul 14, 2026
36c1fcd
lighter markup
tshepang Jul 14, 2026
c985b99
whitespace
tshepang Jul 14, 2026
75f10b7
sembr src/mir/debugging.md
tshepang Jul 14, 2026
6741f56
Add ´#[rustc_comptime]` inherent impls
oli-obk Jun 12, 2026
7951d5d
sembr src/mir/index.md
tshepang Jul 14, 2026
29668b5
Construct tokens for attrs made by mk_attr_word
mu001999 Jul 14, 2026
a8019c5
rerun if we meet any opaques in post analysis
adwinwhite Jul 8, 2026
c9528a4
improve mir/index.md
tshepang Jul 14, 2026
f2dacde
sembr src/mir/dataflow.md
tshepang Jul 14, 2026
084cbeb
improve mir/dataflow.md
tshepang Jul 14, 2026
ef46135
book title should be enough
tshepang Jul 14, 2026
ad50c18
sembr src/mir/passes.md
tshepang Jul 14, 2026
41ebf06
improve mir/passes.md
tshepang Jul 14, 2026
4e9b7c5
sembr src/mir/visitor.md
tshepang Jul 14, 2026
a4f7cd6
use plain english
tshepang Jul 14, 2026
ce63e67
sembr src/mir/drop-elaboration.md
tshepang Jul 14, 2026
1710ce1
clarity
tshepang Jul 14, 2026
60d5c32
unstable book: Document `diagnostic_on_unknown`
mejrs Jul 14, 2026
4d9f954
Remove obsolete verbose flag from deref/ref suggestions
reidliu41 Jul 14, 2026
62c7143
Don't run doctest because it doesn't compile on stage1
JonathanBrouwer Jul 13, 2026
48a980d
Store DefId instead of EiiDecl in EiiImplResolution::Known
cezarbbb Jun 22, 2026
1f5e4ba
Add Into<DefId> to is_descendant_of
camsteffen Jul 12, 2026
d26029d
Inline typed_def_id macro
camsteffen Jul 12, 2026
df3766d
Rename ModDefId to ModId
camsteffen Jul 12, 2026
52ab8f0
*. confused sembr tool
tshepang Jul 14, 2026
3c0923a
Use ModId more
camsteffen Jul 12, 2026
60d52ca
Fix rustdoc with ModId refactors
camsteffen Jul 14, 2026
2c70f93
Fix clippy with ModId refactors
camsteffen Jul 14, 2026
a1e7361
nit
tshepang Jul 14, 2026
ac3ddd6
sembr src/coroutine-closures.md
tshepang Jul 14, 2026
0c03df6
avoid inline external links
tshepang Jul 14, 2026
8e9528f
reflow
tshepang Jul 14, 2026
5e823b7
use sentence case for titles
tshepang Jul 14, 2026
c9fe6e7
Merge pull request #2926 from rust-lang/tshepang/misc
tshepang Jul 14, 2026
38fa9b5
Inherit eager invocation parents
Dnreikronos Jul 14, 2026
c8fe362
Add eager glob delegation regression test
Dnreikronos Jul 14, 2026
0ac4173
Merge pull request #2925 from Bortlesboat/docs/2914-diagnostic-items-…
tshepang Jul 14, 2026
cf4274e
replace a needless capitatlisation
tshepang Jul 14, 2026
22ac34b
sembr src/diagnostics/diagnostic-items.md
tshepang Jul 14, 2026
d8fca8c
missing pauses
tshepang Jul 14, 2026
ee0aa9a
less playful
tshepang Jul 14, 2026
16bc3b8
lighter markup
tshepang Jul 14, 2026
7bc6a3f
sembr src/rustbot.md
tshepang Jul 14, 2026
72b569c
lighter markup
tshepang Jul 14, 2026
fbdd738
Merge pull request #2927 from rust-lang/tshepang/nit
tshepang Jul 14, 2026
820ae3c
Rollup merge of #156047 - JonathanBrouwer:never-ty-method, r=lcnr,waf…
JonathanBrouwer Jul 14, 2026
5224039
Rollup merge of #157824 - oli-obk:comptime-impls, r=fee1-dead
JonathanBrouwer Jul 14, 2026
9f5052b
Rollup merge of #158235 - cezarbbb:eii-metadata-opt, r=bjorn3
JonathanBrouwer Jul 14, 2026
1b6842f
Rollup merge of #158723 - AsakuraMizu:windows-msvc-eii, r=bjorn3
JonathanBrouwer Jul 14, 2026
d7ff9eb
Rollup merge of #158993 - adwinwhite:rigid-opaque-in-codegen, r=jdons…
JonathanBrouwer Jul 14, 2026
9897495
Rollup merge of #159160 - nnethercote:HasAttrs-HasTokens, r=petrochenkov
JonathanBrouwer Jul 14, 2026
09e4f79
Rollup merge of #159183 - bjorn3:instance_llvm_intrinsic, r=RalfJung,…
JonathanBrouwer Jul 14, 2026
2abf50f
Rollup merge of #159251 - Kobzol:update-rustc-perf, r=lqd
JonathanBrouwer Jul 14, 2026
10c41af
Rollup merge of #155013 - jakubadamw:issue-103270, r=oli-obk
JonathanBrouwer Jul 14, 2026
91d73e9
Rollup merge of #159155 - mejrs:doc_on_unknown, r=nnethercote
JonathanBrouwer Jul 14, 2026
8d1395a
Rollup merge of #159235 - Joel-Wwalker:95719-regression-test, r=oli-obk
JonathanBrouwer Jul 14, 2026
bebfa65
Rollup merge of #159243 - vilgotf:once-inline, r=joboet
JonathanBrouwer Jul 14, 2026
03ea304
Rollup merge of #159255 - estebank:shortened-ty-placeholder, r=Kivooeo
JonathanBrouwer Jul 14, 2026
a711c4b
Rollup merge of #159259 - Joel-Wwalker:144033-regression-test, r=Kivooeo
JonathanBrouwer Jul 14, 2026
c6337c0
Rollup merge of #159265 - xonx4l:skip-intrinsic-test-missing-rustfmt,…
JonathanBrouwer Jul 14, 2026
b10b737
Rollup merge of #159269 - fneddy:disable-test-rltf, r=folkertdev
JonathanBrouwer Jul 14, 2026
a705750
Rollup merge of #159272 - Rachit2323:fix-slice-swap-use-swap-unchecke…
JonathanBrouwer Jul 14, 2026
518b726
Rollup merge of #159274 - Zalathar:did-you-mean-make-run, r=jieyouxu
JonathanBrouwer Jul 14, 2026
2ca4ea9
Rollup merge of #159275 - tshepang:patch-2, r=Kivooeo
JonathanBrouwer Jul 14, 2026
9fb001a
Rollup merge of #159277 - mu001999-contrib:fix-159261, r=jdonszelmann
JonathanBrouwer Jul 14, 2026
058cc57
Rollup merge of #159283 - reidliu41:cleanup-obsolete-suggestion-verbo…
JonathanBrouwer Jul 14, 2026
aa9a6cf
Rollup merge of #159290 - tshepang:rdg-sync, r=tshepang
JonathanBrouwer Jul 14, 2026
52f8891
renovate: don't update PRs in the merge queue
marcoieni Jul 14, 2026
e3f1e56
Implement `bool::toggle`
CenTdemeern1 Jul 14, 2026
b5a975d
Add tracking issue for `bool_toggle`
CenTdemeern1 Jul 14, 2026
3e03dd3
Apply suggested doc improvement for `bool::toggle`
CenTdemeern1 Jul 14, 2026
cbeec91
Fix Zulip backport command suggestion
apiraino Jul 14, 2026
827474f
move batch
zedddie Jul 14, 2026
5411bb0
std: clarify available_parallelism docs for Windows 11 processor groups
valentynkit Jul 14, 2026
2f5253f
Auto merge of #158976 - bal-e:eager-ambig-detection, r=nnethercote
bors Jul 14, 2026
c72a794
add rustc_no_writable to mem::forget and structs it uses
quiode Jul 14, 2026
0b38c45
bless batch
zedddie Jul 14, 2026
1a56799
cleanup: upstream dropped AMX-TF32
krasimirgg Jul 9, 2026
a05a270
Add 1.97.1 release notes
Mark-Simulacrum Jul 14, 2026
38a0576
Auto merge of #159293 - JonathanBrouwer:rollup-bZ1e8vF, r=JonathanBro…
bors Jul 15, 2026
470556c
Auto merge of #158720 - nnethercote:Expr64, r=folkertdev
bors Jul 15, 2026
1c70cd1
Rollup merge of #159311 - Mark-Simulacrum:relnotes-1.97.1, r=Mark-Sim…
jhpratt Jul 15, 2026
319376c
Rollup merge of #156220 - cammeresi:20260505-truncate-to-range, r=nia-e
jhpratt Jul 15, 2026
2d4ae66
Rollup merge of #158608 - mejrs:opaque, r=estebank
jhpratt Jul 15, 2026
c0a4d3f
Rollup merge of #159168 - cclfmht:fix/issue-158735, r=estebank
jhpratt Jul 15, 2026
58f1e26
Rollup merge of #159242 - Dnreikronos:resolver/eager_invocation_paren…
jhpratt Jul 15, 2026
c20383d
Rollup merge of #159256 - estebank:coroutine-ret-ty, r=workingjubilee
jhpratt Jul 15, 2026
bd86099
Rollup merge of #159310 - gmittert:RmAmxTf32, r=sayantn,workingjubilee
jhpratt Jul 15, 2026
812c630
Rollup merge of #158348 - valentynkit:docs-inline-attribute, r=Guilla…
jhpratt Jul 15, 2026
574e589
Rollup merge of #159181 - quiode:mem--forget-implicit-writes, r=RalfJung
jhpratt Jul 15, 2026
be2882d
Rollup merge of #159191 - obi1kenobi:pg/std-internals-feature-private…
jhpratt Jul 15, 2026
c9f7583
Rollup merge of #159194 - Dnreikronos:rustdoc/auto_trait_param_env, r…
jhpratt Jul 15, 2026
52867ef
Rollup merge of #159196 - Wilfred:patch-2, r=jhpratt
jhpratt Jul 15, 2026
9478e35
Rollup merge of #159289 - apiraino:fix-backport-msg-suggestion, r=Urgau
jhpratt Jul 15, 2026
9296225
Rollup merge of #159294 - marcoieni:renovate-stop-updating, r=Kobzol
jhpratt Jul 15, 2026
b016514
Rollup merge of #159305 - valentynkit:docs/available-parallelism-wind…
jhpratt Jul 15, 2026
47101ad
Auto merge of #159316 - jhpratt:rollup-Ap3QBGh, r=jhpratt
bors Jul 15, 2026
7347c6d
Rollup merge of #156712 - jchlanda:jakub/pac_config, r=davidtwco
jhpratt Jul 15, 2026
8365df9
Rollup merge of #158522 - Urgau:runtime-symbols-posix, r=chenyukang
jhpratt Jul 15, 2026
0f88cd3
Rollup merge of #159229 - Dnreikronos:ast_lowering/direct_const_arg_o…
jhpratt Jul 15, 2026
de4e2ee
Rollup merge of #159270 - Kobzol:bootstrap-panic, r=jieyouxu
jhpratt Jul 15, 2026
66be5f8
Rollup merge of #159308 - zedddie:gsoc-batch-24-meow, r=Teapot4195
jhpratt Jul 15, 2026
df1ae0f
Auto merge of #159325 - jhpratt:rollup-wVbUouH, r=jhpratt
bors Jul 15, 2026
5724e6e
fix use-self-at-end in 2021 edition
jyn514 Jul 15, 2026
53c2cdd
limit tait-normalize to edition < 2021
jyn514 Jul 15, 2026
bc585ed
Fix the stale metrics directory warning
reidliu41 Jul 15, 2026
012970d
fix bad edition on 155202 delegation test
jyn514 Jul 15, 2026
0858f89
Add documentation for the `cold` and `track_caller` attributes
valentynkit Jun 27, 2026
9e25e3a
Fix ignore-llvm-version directive in codegen-llvm/array-equality.rs
zmodem Jul 15, 2026
c02f727
Improve E0277 diagnostic for imperfect derives
raushan728 Jul 3, 2026
8fdc29c
Rollup merge of #159197 - camsteffen:more-modid, r=petrochenkov
JonathanBrouwer Jul 15, 2026
ac05d38
Rollup merge of #159222 - joshtriplett:main, r=petrochenkov
JonathanBrouwer Jul 15, 2026
3e648f7
Rollup merge of #159296 - CenTdemeern1:bool_toggle, r=chenyukang
JonathanBrouwer Jul 15, 2026
68bc4b1
Rollup merge of #158302 - theemathas:neg-lit-lint, r=adwinwhite
JonathanBrouwer Jul 15, 2026
915f8ed
Rollup merge of #158484 - valentynkit:docs-cold-track-caller-attribut…
JonathanBrouwer Jul 15, 2026
298175f
Rollup merge of #159239 - amirHdev:add-codegen-test-rem-match-unreach…
JonathanBrouwer Jul 15, 2026
bd05c01
Rollup merge of #159330 - ferrocene:jyn/edition-fixes, r=nnethercote
JonathanBrouwer Jul 15, 2026
be99e06
Rollup merge of #159331 - zmodem:ignore_llvm_version_fix, r=mati865
JonathanBrouwer Jul 15, 2026
d4dff69
tidy: document numeric sort key limit
kn1g78 Jul 15, 2026
7c8a29e
extract `use_injections` to be created by `LateResolverVisitor` and u…
LorrensP-2158466 Jul 15, 2026
2118366
Auto merge of #159336 - JonathanBrouwer:rollup-A47hpCX, r=JonathanBro…
bors Jul 15, 2026
526787d
rename from lazy_type_alias to checked_type_aliases
josetorrs Jul 4, 2026
26bc4c9
renovate: group github actions updates
marcoieni Jul 15, 2026
37e12e1
Show sub-parts of types when only interesting part is lifetimes
estebank Jul 9, 2026
a85f928
Teach async closures and coroutines to print short types
estebank Jul 9, 2026
00d1b3f
Use `Highlight` when naming hidden type in return type
estebank Jul 9, 2026
76519dc
Make `Highlighted` take heed of `--verbose`
estebank Jul 9, 2026
24c30fb
Account for `for<'a>` in `<impl for<'a> Trait as Trait>` when shorten…
estebank Jul 10, 2026
e94c07c
Always show full signature on "`impl` doesn't match `trait`" error
estebank Jul 10, 2026
d228a89
Tweak logic to refer to items by their name instead of path when shor…
estebank Jul 10, 2026
b8c0562
Fix typo
estebank Jul 12, 2026
23204b1
address review comments
estebank Jul 12, 2026
ec430cb
tidy
estebank Jul 12, 2026
fa69dbd
Do not change closure short type rendering
estebank Jul 13, 2026
247cf33
Add missing backticks
estebank Jul 13, 2026
f43dbc2
Shorten `Highlighted` types when looking at regions, but never shorte…
estebank Jul 13, 2026
c6f5692
Tweak shortened closure logic
estebank Jul 13, 2026
08bda6d
std: upgrade `addr2line`, `object`, `miniz_oxide`
cuviper Jul 15, 2026
95ae48e
Fix safety doc in intrinsics::simd
yilin0518 Jul 15, 2026
dbee3dd
rustc: improve diagnostics for file-open failures
Unique-Usman Jun 23, 2026
ed2989e
Rollup merge of #158764 - raushan728:issues/157117, r=estebank
JonathanBrouwer Jul 15, 2026
abc46f4
Rollup merge of #159345 - cuviper:std-deps, r=Darksonn
JonathanBrouwer Jul 15, 2026
4bf0b76
add proc_macro attribute documentation
josetorrs Jul 3, 2026
d0babd8
Auto merge of #159350 - JonathanBrouwer:rollup-V056aOq, r=JonathanBro…
bors Jul 15, 2026
88ff4b0
interpret: properly check for inhabitedness of nested references
RalfJung May 26, 2026
ba17d29
address some review feedback
RalfJung Jun 24, 2026
d65ad07
remove a crash test that no longer crashes (but we didn't actually fi…
RalfJung Jul 2, 2026
62fbd98
move batch
zedddie Jul 15, 2026
e5a03bc
bless batch
zedddie Jul 15, 2026
fcbe791
Auto merge of #158962 - josetorrs:add-proc-macr-attribute-documentati…
bors Jul 15, 2026
05d7d3b
Add a regression test for an associated const equality region variabl…
jakubadamw Jul 15, 2026
2329d13
Add a regression test for a const parameter default body param-env ICE
jakubadamw Jul 15, 2026
2d0faf8
Auto merge of #158323 - Unique-Usman:ua/invalid_source_file, r=nnethe…
bors Jul 16, 2026
26d2eda
Delete `lint-unknown-feature{,-default}.rs`
theemathas Jul 16, 2026
4b1bfb5
Delete FIXMEs about issue 44232.
theemathas Jul 16, 2026
ab4bbeb
Auto merge of #159354 - zedddie:gsoc-batch-25-meow, r=Kivooeo
bors Jul 16, 2026
5ccf44c
Track extra_lifetime_params_map per-owner
oli-obk May 27, 2026
83c03bb
Rollup merge of #159028 - PiJoules:fuchsia-sanitizers, r=workingjubilee
jhpratt Jul 16, 2026
09be986
Rollup merge of #159339 - LorrensP-2158466:extract-use-injections, r=…
jhpratt Jul 16, 2026
83dae99
Rollup merge of #159342 - marcoieni:renovate-plugin, r=Kobzol
jhpratt Jul 16, 2026
d62fb1c
Auto merge of #159367 - jhpratt:rollup-m6CJJYQ, r=jhpratt
bors Jul 16, 2026
378f1af
move overflow check
jdonszelmann Jun 18, 2026
88ee7e4
move fast path into evaluate_goal
jdonszelmann Jun 18, 2026
2386145
remove fastpath from fullfilment loop
jdonszelmann Jun 18, 2026
d54b2ab
experiment with better evaluate_goal_step
jdonszelmann Jun 18, 2026
15d7b5b
return stalled info from fast path
jdonszelmann Jun 22, 2026
47b6070
move goal fast path into evaluate_goal_cold
jdonszelmann Jun 22, 2026
f806e9b
shuffle fastpaths around to before creating an evalctxt
jdonszelmann Jun 25, 2026
203832a
fast path when adding goals
jdonszelmann Jun 25, 2026
1cb6d00
fix bug when fast paths aren't rerun when opaques change
jdonszelmann Jul 9, 2026
a572787
review comments (nits)
jdonszelmann Jul 16, 2026
4b0cd8e
make a couple codegen-llvm tests compatible with 2021 edition
jyn514 Jul 15, 2026
2c38aed
emit (lldb) prefix to make commands more distinct
Walnut356 Jul 16, 2026
a6050b7
Auto merge of #158249 - jdonszelmann:move-checks, r=lcnr
bors Jul 16, 2026
b6849b3
add file operations to std dirfd
Qelxiros Jul 16, 2026
4946081
Update Rust crate rand to v0.9.3 [SECURITY]
renovate-bot Jul 16, 2026
458cc7f
Update Rust crate rkyv to v0.8.16 [SECURITY]
renovate-bot Jul 16, 2026
e4ed50d
Update Rust crate tar to v0.4.46 [SECURITY]
renovate-bot Jul 16, 2026
663d082
Update Rust crate tracing-subscriber [SECURITY]
renovate-bot Jul 16, 2026
73e371b
Update actions/checkout action to v7
renovate-bot Jul 16, 2026
9133612
Rollup merge of #150679 - Qelxiros:dirfd-files, r=Mark-Simulacrum
JonathanBrouwer Jul 16, 2026
d55ab96
Rollup merge of #158758 - josetorrs:rename-lazy-type-alias, r=lcnr
JonathanBrouwer Jul 16, 2026
943683b
Rollup merge of #159177 - Kobzol:compiletest-debugger-config, r=jieyouxu
JonathanBrouwer Jul 16, 2026
43352e9
Rollup merge of #159392 - renovate-bot:renovate/crate-rand-vulnerabil…
JonathanBrouwer Jul 16, 2026
296750b
Rollup merge of #159393 - renovate-bot:renovate/crate-rkyv-vulnerabil…
JonathanBrouwer Jul 16, 2026
d69c732
Rollup merge of #159394 - renovate-bot:renovate/crate-tar-vulnerabili…
JonathanBrouwer Jul 16, 2026
2646722
Rollup merge of #159395 - renovate-bot:renovate/crate-tracing-subscri…
JonathanBrouwer Jul 16, 2026
1e4c387
Rollup merge of #159193 - Kobzol:compiletest-clap, r=jieyouxu,Zalathar
JonathanBrouwer Jul 16, 2026
c5e1ca8
Rollup merge of #158992 - estebank:shorten-type-highlighted-lt, r=mejrs
JonathanBrouwer Jul 16, 2026
7d1f162
Rollup merge of #159226 - oli-obk:extra_lifetime_params_map, r=petroc…
JonathanBrouwer Jul 16, 2026
0bdf554
Rollup merge of #159273 - kn1g78:tidy-handle-large-numeric-sorts, r=c…
JonathanBrouwer Jul 16, 2026
6578cac
Rollup merge of #159322 - yilin0518:fix_simd_1, r=RalfJung
JonathanBrouwer Jul 16, 2026
d09bf65
Rollup merge of #159329 - reidliu41:fix-metrics-dir-warning, r=jieyouxu
JonathanBrouwer Jul 16, 2026
32ce99c
Rollup merge of #159357 - jakubadamw:issue-148096-148620, r=folkertdev
JonathanBrouwer Jul 16, 2026
7abb2b5
Rollup merge of #159360 - theemathas:del-44232-comments, r=petrochenkov
JonathanBrouwer Jul 16, 2026
e22573b
Rollup merge of #159375 - ferrocene:jyn/codegen-tests-2021, r=jieyouxu
JonathanBrouwer Jul 16, 2026
72062cf
Rollup merge of #159381 - Walnut356:cmd_prefix, r=Kobzol
JonathanBrouwer Jul 16, 2026
b6dbf2f
Rollup merge of #159396 - renovate-bot:renovate/major-github-actions,…
JonathanBrouwer Jul 16, 2026
3d50c25
Auto merge of #159407 - JonathanBrouwer:rollup-Glp5Zkf, r=JonathanBro…
bors Jul 16, 2026
4a9d536
Auto merge of #156977 - RalfJung:interpret-opsem-inhabited, r=WaffleL…
bors Jul 17, 2026
933b982
Teach builder how to issue llvm.ptrauth.resign
jchlanda Jun 29, 2026
981d41b
Introduce function pointer type encoder
jchlanda Jun 29, 2026
4a7c9dd
Extend FnAbi to hold type_discriminator
jchlanda Jun 29, 2026
976ef7e
Add FPTR_TYPE_DISCR to the supported set of features
jchlanda Jun 29, 2026
dca628f
Teach static initializer how to handle fn ptr discriminators
jchlanda Jun 29, 2026
18fcf86
Extend transmute to handle fn ptr discriminators
jchlanda Jun 29, 2026
1bf9879
Extend minicore with items required by fn ptr ty discriminator tests
jchlanda Jun 29, 2026
4daa841
Add fn ptr type discrimination tests
jchlanda Jun 29, 2026
779ed32
Update SIMD vector encoding and extend the testing for it
jchlanda Jun 30, 2026
dacec7c
Init/fini entries don't participate in fn ty discrimination
jchlanda Jul 3, 2026
024f26a
Unify creation of discrimination data and fill in missing `get_fn_add…
jchlanda Jul 9, 2026
67b93c1
Update the main document with changes to [patch] section
jchlanda Jul 9, 2026
7aeb893
Adapt tests to `// ignore-tidy-file-linelength` directive
jchlanda Jul 14, 2026
d571964
PR feedback: Introduce function pointer type encoder
jchlanda Jul 14, 2026
7134f59
PR feedback: Extend FnAbi to hold type_discriminator
jchlanda Jul 14, 2026
911b2b4
PR feedback: Teach static initializer how to handle fn ptr discrimina…
jchlanda Jul 14, 2026
eb16c2d
PR feedback: Unify creation of discrimination data and fill in missin…
jchlanda Jul 14, 2026
7bd76dd
PR feedback: Extend transmute to handle fn ptr discriminators
jchlanda Jul 14, 2026
cfe92fc
PR feedback: Unify creation of discrimination data and fill in missing
jchlanda Jul 15, 2026
f9b08db
PR feedback: Encoder
jchlanda Jul 15, 2026
54893fd
PR Feedback: To Encoder - Retire Complex
jchlanda Jul 16, 2026
cff5996
PR Feedback: To Encoder - Treat data pointer the same as fn in Option…
jchlanda Jul 16, 2026
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
  •  
  •  
  •  
8 changes: 4 additions & 4 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
// Use https://github.com/rust-lang/renovate/blob/main/actions.json
"github>rust-lang/renovate:actions",
// Open a PR to migrate the config when Renovate deprecates syntax
":configMigration",
// Refresh lock files on the first day of each month
// (still gated by dashboard approval for now)
":maintainLockFilesMonthly",
// Pin GitHub Actions to their commit SHA digests, resolving floating tags
// (e.g. `v4`) to the full SemVer version (e.g. `v4.1.2`)
"helpers:pinGitHubActionDigestsToSemver"
],
// Require manual approval from the Dependency Dashboard before opening PRs
"dependencyDashboardApproval": true,
// Renovate shouldn't update a PR if it is in the bors merge queue.
"stopUpdatingLabel": "S-waiting-on-bors",
"packageRules": [
{
// No dashboard approval necessary for GitHub Actions updates
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
run_type: ${{ steps.jobs.outputs.run_type }}
steps:
- name: Checkout the source code
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Test citool
# Only test citool on the auto branch, to reduce latency of the calculate matrix job
# on PR/try builds.
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
run: git config --global core.autocrlf false

- name: checkout the source code
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 2

Expand Down Expand Up @@ -315,7 +315,7 @@ jobs:
environment: ${{ (github.repository == 'rust-lang/rust' && 'bors') || '' }}
steps:
- name: checkout the source code
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 2
# Publish the toolstate if an auto build succeeds (just before push to the default branch)
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: checkout the source code
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
submodules: recursive
- name: install the bootstrap toolchain
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
pull-requests: write
steps:
- name: checkout the source code
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0

- name: download Cargo.lock from update job
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
# Needed to write to the ghcr.io registry
packages: write
steps:
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/post-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
permissions:
pull-requests: write
steps:
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
# Make sure that we have enough commits to find the parent merge commit.
# Since all merges should be through merge commits, fetching two commits
Expand Down
72 changes: 33 additions & 39 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,7 @@ version = "3.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "faf9468729b8cbcea668e36183cb69d317348c2e08e994829fb56ebfdfbaac34"
dependencies = [
"windows-sys 0.61.2",
"windows-sys 0.59.0",
]

[[package]]
Expand All @@ -887,9 +887,9 @@ dependencies = [
"anstyle-svg",
"build_helper",
"camino",
"clap",
"colored",
"diff",
"getopts",
"glob",
"home",
"indexmap",
Expand Down Expand Up @@ -1284,7 +1284,7 @@ dependencies = [
"libc",
"option-ext",
"redox_users",
"windows-sys 0.61.2",
"windows-sys 0.59.0",
]

[[package]]
Expand Down Expand Up @@ -1411,7 +1411,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
dependencies = [
"libc",
"windows-sys 0.61.2",
"windows-sys 0.59.0",
]

[[package]]
Expand Down Expand Up @@ -1724,12 +1724,6 @@ dependencies = [
"foldhash 0.1.5",
]

[[package]]
name = "hashbrown"
version = "0.16.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100"

[[package]]
name = "hashbrown"
version = "0.17.0"
Expand Down Expand Up @@ -2105,7 +2099,7 @@ dependencies = [
"libc",
"mio",
"postcard",
"rand 0.9.2",
"rand 0.9.3",
"rustc-hash 2.1.1",
"serde_core",
"tempfile",
Expand Down Expand Up @@ -2204,7 +2198,7 @@ dependencies = [
"portable-atomic",
"portable-atomic-util",
"serde_core",
"windows-sys 0.61.2",
"windows-sys 0.59.0",
]

[[package]]
Expand Down Expand Up @@ -2691,7 +2685,7 @@ version = "0.50.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5"
dependencies = [
"windows-sys 0.61.2",
"windows-sys 0.59.0",
]

[[package]]
Expand Down Expand Up @@ -3317,9 +3311,9 @@ dependencies = [

[[package]]
name = "rand"
version = "0.9.2"
version = "0.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1"
checksum = "7ec095654a25171c2124e9e3393a930bddbffdc939556c914957a4c3e0a87166"
dependencies = [
"rand_chacha",
"rand_core 0.9.3",
Expand Down Expand Up @@ -3510,13 +3504,13 @@ dependencies = [

[[package]]
name = "rkyv"
version = "0.8.15"
version = "0.8.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1a30e631b7f4a03dee9056b8ef6982e8ba371dd5bedb74d3ec86df4499132c70"
checksum = "73389e0c99e664f919275ab5b5b0471391fe9a8de61e1dff9b1eaf56a90f16e3"
dependencies = [
"bytecheck",
"bytes",
"hashbrown 0.16.1",
"hashbrown 0.17.0",
"indexmap",
"munge",
"ptr_meta",
Expand All @@ -3529,9 +3523,9 @@ dependencies = [

[[package]]
name = "rkyv_derive"
version = "0.8.15"
version = "0.8.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8100bb34c0a1d0f907143db3149e6b4eea3c33b9ee8b189720168e818303986f"
checksum = "5d2ed0b54125315fb36bd021e82d314d1c126548f871634b483f46b31d13cac6"
dependencies = [
"proc-macro2",
"quote",
Expand Down Expand Up @@ -3636,7 +3630,7 @@ name = "rustc_abi"
version = "0.0.0"
dependencies = [
"bitflags",
"rand 0.9.2",
"rand 0.9.3",
"rand_xoshiro",
"rustc_data_structures",
"rustc_error_messages",
Expand Down Expand Up @@ -4215,7 +4209,7 @@ dependencies = [
name = "rustc_incremental"
version = "0.0.0"
dependencies = [
"rand 0.9.2",
"rand 0.9.3",
"rustc_data_structures",
"rustc_errors",
"rustc_fs_util",
Expand Down Expand Up @@ -4270,7 +4264,7 @@ dependencies = [
name = "rustc_interface"
version = "0.0.0"
dependencies = [
"rand 0.9.2",
"rand 0.9.3",
"rustc_abi",
"rustc_ast",
"rustc_ast_lowering",
Expand Down Expand Up @@ -4859,7 +4853,7 @@ dependencies = [
"crossbeam-deque",
"crossbeam-utils",
"libc",
"rand 0.9.2",
"rand 0.9.3",
"rand_xorshift",
"scoped-tls",
"smallvec",
Expand Down Expand Up @@ -5119,7 +5113,7 @@ dependencies = [
"errno",
"libc",
"linux-raw-sys",
"windows-sys 0.61.2",
"windows-sys 0.59.0",
]

[[package]]
Expand Down Expand Up @@ -5532,9 +5526,9 @@ dependencies = [

[[package]]
name = "tar"
version = "0.4.45"
version = "0.4.46"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "22692a6476a21fa75fdfc11d452fda482af402c008cdbaf3476414e122040973"
checksum = "3f6221d9a6003c78398e3b239969f352578258df48c8eb051caadae0015bc840"
dependencies = [
"filetime",
"libc",
Expand All @@ -5551,7 +5545,7 @@ dependencies = [
"getrandom 0.3.3",
"once_cell",
"rustix",
"windows-sys 0.61.2",
"windows-sys 0.59.0",
]

[[package]]
Expand All @@ -5570,7 +5564,7 @@ version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d8c27177b12a6399ffc08b98f76f7c9a1f4fe9fc967c784c5a071fa8d93cf7e1"
dependencies = [
"windows-sys 0.61.2",
"windows-sys 0.59.0",
]

[[package]]
Expand Down Expand Up @@ -5604,7 +5598,7 @@ version = "0.1.0"
dependencies = [
"indicatif",
"num",
"rand 0.9.2",
"rand 0.9.3",
"rand_chacha",
"rayon",
]
Expand Down Expand Up @@ -5877,9 +5871,9 @@ checksum = "d282ade6016312faf3e41e57ebbba0c073e4056dab1232ab1cb624199648f8ed"

[[package]]
name = "tracing"
version = "0.1.41"
version = "0.1.44"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0"
checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100"
dependencies = [
"pin-project-lite",
"tracing-attributes",
Expand All @@ -5888,9 +5882,9 @@ dependencies = [

[[package]]
name = "tracing-attributes"
version = "0.1.30"
version = "0.1.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "81383ab64e72a7a8b8e13130c49e3dab29def6d0c7d76a03087b3cf71c5c6903"
checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da"
dependencies = [
"proc-macro2",
"quote",
Expand All @@ -5899,9 +5893,9 @@ dependencies = [

[[package]]
name = "tracing-core"
version = "0.1.34"
version = "0.1.36"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b9d12581f227e93f094d3af2ae690a574abb8a2b9b7a96e7cfe9647b2b617678"
checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a"
dependencies = [
"once_cell",
"valuable",
Expand Down Expand Up @@ -5940,9 +5934,9 @@ dependencies = [

[[package]]
name = "tracing-subscriber"
version = "0.3.20"
version = "0.3.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2054a14f5307d601f88daf0553e1cbf472acc4f2c51afab632431cdcd72124d5"
checksum = "2f30143827ddab0d256fd843b7a66d164e9f271cfa0dde49142c5ca0ca291f1e"
dependencies = [
"matchers",
"nu-ansi-term",
Expand Down Expand Up @@ -6548,7 +6542,7 @@ version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
dependencies = [
"windows-sys 0.61.2",
"windows-sys 0.59.0",
]

[[package]]
Expand Down
10 changes: 10 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
Version 1.97.1 (2026-07-16)
==========================

<a id="1.97.1"></a>

- [rustc: Fix miscompilation in LLVM optimization](https://github.com/rust-lang/rust/issues/159035)
This backports an LLVM submodule bump to include the LLVM-side fix and a
revert of the rustc change that is one known trigger for the bug. The rustc
side revert should not be strictly necessary but is done out of abundance of caution.

Version 1.97.0 (2026-07-09)
==========================

Expand Down
Loading