Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from rust-lang:master #14

Open
wants to merge 10,000 commits into
base: master
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
1907786
Coerce two `FnDef`s to fn pointers even if they are the same, if they…
ChayimFriedman2 Dec 7, 2024
6956b41
Merge pull request #4080 from RalfJung/sc-fence-access-test
RalfJung Dec 7, 2024
16bf722
Add more info on type/trait mismatches for different crate versions
estebank Dec 2, 2024
3ce35a4
Make `Copy` unsafe to implement for ADTs with `unsafe` fields
jswrenn Dec 6, 2024
68253e1
Don't suggest restricting bound with unstable traits on stable
estebank Nov 27, 2024
d13c348
reword trait bound suggestion message to include the bounds
estebank Nov 28, 2024
568b0ac
Add test for lack of suggestion in stable
estebank Nov 28, 2024
3f2a63a
Use trait name instead of full constraint in suggestion message
estebank Nov 28, 2024
d860e5b
Mention type parameter in more cases and don't suggest ~const bound a…
estebank Nov 28, 2024
cb4db0a
Account for `impl Trait` in "add bound" suggestion message
estebank Nov 28, 2024
af09423
fix rustdoc test
estebank Nov 28, 2024
b466405
Do not talk about "trait `<Foo = Bar>`"
estebank Nov 28, 2024
6277fb0
Use run-make `diff` output for stable output test
estebank Nov 29, 2024
25ad047
Tweak wording
estebank Dec 7, 2024
88669ae
Don't use AsyncFnOnce::CallOnceFuture bounds for signature deduction
compiler-errors Dec 7, 2024
728f2da
Auto merge of #133988 - weihanglo:update-cargo, r=weihanglo
bors Dec 8, 2024
18d7b9a
Remove unnecessary `int_type_width_signed` function
scottmcm Dec 8, 2024
7ba5192
Preparing for merge from rustc
Dec 8, 2024
8cabbc9
Merge from rustc
Dec 8, 2024
f3f7c20
coverage: Move `CoverageIdsInfo` into `mir::coverage`
Zalathar Dec 6, 2024
7625d76
Merge pull request #18633 from ChayimFriedman2/unify-fn
Veykril Dec 8, 2024
03c412e
fix build
RalfJung Dec 8, 2024
73b00ca
Document `assign-assign.rs`
jieyouxu Dec 8, 2024
5a79963
Move `assign-assign.rs` to `tests/ui/codegen/assign-expr-unit-type.rs`
jieyouxu Dec 8, 2024
62c3160
Adjust `assign-imm-local-twice.rs`
jieyouxu Dec 8, 2024
5e07f6e
Move `assign-imm-local-twice.rs` to `tests/ui/borrowck/`
jieyouxu Dec 8, 2024
1e3328d
Document `assoc-lang-items.rs`
jieyouxu Dec 8, 2024
6959582
Move `assoc-lang-items.rs` to `tests/ui/lang-items/`
jieyouxu Dec 8, 2024
b815a93
Move `assoc-oddities-3.rs` under `tests/ui/parser/assoc/`
jieyouxu Dec 8, 2024
3a33522
Adjust `assoc-oddities-3.rs`
jieyouxu Dec 8, 2024
1247f01
Move `atomic-from-mut-not-available.rs` to `tests/ui/stdlib-unit-tests/`
jieyouxu Dec 8, 2024
754dec3
Adjust `atomic-from-mut-not-available.rs`
jieyouxu Dec 8, 2024
4740b0f
Merge pull request #4081 from rust-lang/rustup-2024-12-08
saethlin Dec 8, 2024
f415c07
Auto merge of #133522 - estebank:dont-suggest-unstable-trait, r=compi…
bors Dec 8, 2024
2022ef7
coverage: Use a query to find counters/expressions that must be zero
Zalathar Dec 6, 2024
4d2bfec
coverage: Remove FunctionCoverageCollector
Zalathar Dec 6, 2024
3a35fb6
coverage: Unused functions don't need to store `CoverageIdsInfo`
Zalathar Dec 8, 2024
159ed85
crashes: add test for #131451
matthiaskrgr Nov 16, 2024
477b722
docs: better examples for `std::ops::ControlFlow`
snprajwal Dec 8, 2024
ee30005
Fix a test that didn't test what it should
ChayimFriedman2 Dec 8, 2024
703bb98
Rollup merge of #131669 - niacdoial:linting-ptrdyn-ffi, r=workingjubilee
matthiaskrgr Dec 8, 2024
5101833
Rollup merge of #133104 - matthiaskrgr:crashtest_debugass_131451.rs, …
matthiaskrgr Dec 8, 2024
a369714
Rollup merge of #133767 - estebank:multiple-dep-version-tests, r=Nadr…
matthiaskrgr Dec 8, 2024
0d26662
Rollup merge of #133861 - shamb0:refactor_InterpCx_allocate_str, r=Ra…
matthiaskrgr Dec 8, 2024
bf74478
Rollup merge of #133976 - rohit141914:master, r=workingjubilee
matthiaskrgr Dec 8, 2024
a12f3aa
Rollup merge of #133987 - Will-Low:DefineTlsAcronym, r=workingjubilee
matthiaskrgr Dec 8, 2024
d4b5345
Rollup merge of #133992 - compiler-errors:walk-fully, r=jieyouxu
matthiaskrgr Dec 8, 2024
f33a8c6
Auto merge of #134033 - matthiaskrgr:rollup-69fswyh, r=matthiaskrgr
bors Dec 8, 2024
292fd0f
Adds new intrinsic declaration
BLANKatGITHUB Dec 7, 2024
c4d7f1d
implement `TargetSelection::is_cygwin` function
onur-ozkan Dec 8, 2024
d3b5340
handle cygwin environments in `install::sanitize_sh`
onur-ozkan Dec 8, 2024
8d5236f
crash tests: use individual mir opts instead of mir-opt-level where e…
matthiaskrgr Dec 8, 2024
dd875ed
deps: Update psm
ognevny Dec 8, 2024
1868c8f
Rollup merge of #133424 - Nadrieril:guard-patterns-parsing, r=fee1-dead
matthiaskrgr Dec 8, 2024
c05e7bd
Rollup merge of #133733 - jyn514:compiletest-diffs, r=jieyouxu
matthiaskrgr Dec 8, 2024
11b0430
Rollup merge of #133993 - LuanOldCode:fix-e0571-typo, r=compiler-errors
matthiaskrgr Dec 8, 2024
fe5f5fd
Rollup merge of #134013 - BLANKatGITHUB:intrinsic, r=saethlin
matthiaskrgr Dec 8, 2024
d619c40
Rollup merge of #134020 - scottmcm:fix-a-fixme, r=jieyouxu
matthiaskrgr Dec 8, 2024
1aab767
Rollup merge of #134024 - jieyouxu:ui-cleanup-2, r=Nadrieril
matthiaskrgr Dec 8, 2024
5b133fe
Rollup merge of #134038 - ognevny:update-psm, r=ChrisDenton
matthiaskrgr Dec 8, 2024
0df8094
Use ensure for analysis calls
bjorn3 Dec 8, 2024
2d8a871
Downgrade cc
clubby789 Dec 8, 2024
c199c49
Use SourceMap to load debugger visualizer files
clubby789 Dec 8, 2024
1220f39
Add the `power8-crypto` target feature
sayantn Dec 8, 2024
4d669fb
Auto merge of #133134 - Walnut356:synth_prov, r=Mark-Simulacrum
bors Dec 8, 2024
62c71cc
improve `--compare-mode` error handling
lqd Dec 8, 2024
95a1351
mark previously hanging tests as good to go
lqd Dec 8, 2024
91cf0cb
bless test expectations
lqd Dec 8, 2024
ef00d4f
Fix some triagebot mentions paths
ehuss Dec 8, 2024
30e3d23
fix: Map new replacement nodes to their mutable equivalents in `Synta…
Giga-Bowser Nov 18, 2024
dd28c40
Use `BitSet` in `SparseBitMatrix`.
nnethercote Dec 5, 2024
34f45f0
Use `MixedBitSet` instead of `ChunkedBitSet` in `fmt.rs`.
nnethercote Dec 5, 2024
fa6ceba
Remove `ChunkedBitSet` impls that are no longer needed.
nnethercote Dec 5, 2024
a33b4b1
update lockfile
RalfJung Dec 8, 2024
df5b8e3
Auto merge of #134039 - matthiaskrgr:rollup-ix8kdg1, r=matthiaskrgr
bors Dec 8, 2024
d2881e4
Rollup merge of #133567 - bjorn3:various_cleanups, r=cjgillot
matthiaskrgr Dec 9, 2024
38cc868
Rollup merge of #133789 - rossmacarthur:then-with-doc-alias, r=Mark-S…
matthiaskrgr Dec 9, 2024
fd7183c
Rollup merge of #133880 - ChrisDenton:homedir, r=Mark-Simulacrum
matthiaskrgr Dec 9, 2024
273a359
Rollup merge of #134036 - matthiaskrgr:opppt, r=saethlin
matthiaskrgr Dec 9, 2024
6f89a61
Rollup merge of #134045 - ehuss:triagebot-path-fixes, r=compiler-errors
matthiaskrgr Dec 9, 2024
86f3ed3
Rollup merge of #134046 - lqd:new-solver-hangs, r=compiler-errors
matthiaskrgr Dec 9, 2024
e01cb62
Rollup merge of #134050 - RalfJung:miri-sync, r=RalfJung
matthiaskrgr Dec 9, 2024
1b3fb31
Auto merge of #134052 - matthiaskrgr:rollup-puxwqrk, r=matthiaskrgr
bors Dec 9, 2024
999aed4
Add URL to test cases
notriddle Dec 9, 2024
b531854
rustdoc: rename `issue-\d+.rs` tests to have meaningful names
notriddle Dec 9, 2024
f6cb952
Auto merge of #133891 - nnethercote:MixedBitSet, r=Mark-Simulacrum
bors Dec 9, 2024
b4c83da
Merge pull request #18531 from Giga-Bowser/map-new-nodes
Veykril Dec 9, 2024
c6e8a0e
Merge pull request #18635 from ChayimFriedman2/fix-test
Veykril Dec 9, 2024
3fc7101
Fix config guard lock for ratoml tests
Veykril Oct 30, 2024
c7b6c95
Merge pull request #18441 from Veykril/lw-psyvmlotlvqn
Veykril Dec 9, 2024
4148b53
Remove unstable attributes in minicore
lnicola Dec 9, 2024
1fcbb1e
Revert #131669 due to ICEs
jieyouxu Dec 9, 2024
38bfd88
Add regression test for #134060
jieyouxu Dec 9, 2024
be43a67
Merge pull request #18642 from lnicola/rm-minicore-unstable
lnicola Dec 9, 2024
db760e2
Move `write_graphviz_results` from `results.rs` to `graphviz.rs`.
nnethercote Dec 8, 2024
b59c4dc
Remove an out-of-date comment.
nnethercote Dec 8, 2024
b9f809a
Rename test fixture crates to ra_test_fixture
Veykril Dec 9, 2024
770265d
Remove patch sysroot cfg-if hack
Veykril Dec 9, 2024
dc9bcef
Merge pull request #18643 from Veykril/push-muwuzmowptnn
Veykril Dec 9, 2024
641bca6
Merge pull request #18644 from Veykril/push-nolvpzqvoqwx
Veykril Dec 9, 2024
4f14890
Configure renovatebot
Kobzol Dec 9, 2024
15d7331
bootstrap: `print{,ln}!` -> `eprint{,ln}!`
clubby789 Dec 3, 2024
a6c4628
compiletest: `print{,ln}!` -> `eprint{,ln}!`
clubby789 Dec 3, 2024
d0986f4
dataflow_const_prop: do not eval a ptr address in SwitchInt
DianQK Dec 9, 2024
67c9287
fix: Non-exhaustive structs may be empty
Veykril Dec 9, 2024
244b1fd
Merge pull request #18645 from Veykril/push-yruoyrvrsntw
Veykril Dec 9, 2024
73dc95d
interpret: clean up deduplicating allocation functions
RalfJung Dec 9, 2024
ed8ee39
fix ICE on type error in promoted
RalfJung Dec 7, 2024
a97404e
Add test to check unicode identifier version
ehuss Dec 8, 2024
2ad6d71
Disable pipe on typing handler
Veykril Dec 9, 2024
91adfec
Merge pull request #18647 from Veykril/push-nsrrmmnzzoym
Veykril Dec 9, 2024
a224f38
Auto merge of #134064 - jieyouxu:revert-131669, r=ChrisDenton
bors Dec 9, 2024
5404cbb
Fix typo in RFC mention 3598 -> 3593
estebank Dec 9, 2024
ab6382e
minor: enhance name suggestion for `Arc<T>` and `Rc<T>`
roife Dec 9, 2024
7951d19
Apply suggestions from code review
sassman Dec 9, 2024
cbc0069
Draft completion hashing
SomeoneToIgnore Dec 9, 2024
e8e3949
Always compute the hash when r-a wants the imports to be resolved
SomeoneToIgnore Dec 9, 2024
78ea49e
Stop excluding Helix from the general resolve path
SomeoneToIgnore Dec 9, 2024
160cb32
Unite more bool hashing
SomeoneToIgnore Dec 9, 2024
9aebb5c
crates/r-a: Fix typo in debug message
yuki0iq Dec 9, 2024
e6bc427
jsondocck: Parse, don't validate commands.
aDotInTheVoid Nov 25, 2024
9ac95c1
Introduce `default_field_values` feature
estebank Aug 24, 2024
550bcae
Detect `struct S(ty = val);`
estebank Nov 26, 2024
e0752ad
Provide diagnostic for `Struct(a, .., z)` expression
estebank Nov 26, 2024
148a77d
review comments: rewordings
estebank Dec 6, 2024
2d6e763
Disallow `#[default] Variant {}` regardless of feature flag
estebank Dec 6, 2024
0757641
Unconditionally error at definition if default field value has const …
estebank Dec 6, 2024
fa331f4
Support x-crate default fields
estebank Dec 7, 2024
2d71dd5
Grammar fixes
aarikpokras Dec 7, 2024
df5ec03
Rollup merge of #133996 - Zalathar:ui-link-native-libs, r=jieyouxu
fmease Dec 9, 2024
780b5bb
Rollup merge of #134012 - aarikpokras:patch-1, r=saethlin
fmease Dec 9, 2024
e0f3db0
Rollup merge of #134032 - snprajwal:fix-docs, r=joboet
fmease Dec 9, 2024
b282774
Rollup merge of #134040 - clubby789:bootstrap-eprintln, r=jieyouxu
fmease Dec 9, 2024
0cb12f9
Rollup merge of #134043 - ehuss:unicode-version, r=jieyouxu
fmease Dec 9, 2024
76fbe8d
Rollup merge of #134053 - notriddle:notriddle/issue-d, r=GuillaumeGomez
fmease Dec 9, 2024
e0bec9d
Rollup merge of #134055 - RalfJung:interpret-alloc-dedup, r=oli-obk
fmease Dec 9, 2024
cb5f03c
Rollup merge of #134073 - DianQK:fix-131227, r=oli-obk
fmease Dec 9, 2024
5a33ab0
Rollup merge of #134084 - estebank:typo, r=compiler-errors
fmease Dec 9, 2024
b203c73
Avoid hashing completion-related ranges as those may change during /r…
SomeoneToIgnore Dec 9, 2024
61c0b26
Clippy fixes
SomeoneToIgnore Dec 9, 2024
5f99e96
only ignore `{flake,default}.nix` and `{.envrc,.direnv/}` in the root
WaffleLapkin Dec 9, 2024
b9afc78
Remove rustc_const_stable attribute on const NOOP
eholk Dec 9, 2024
6058cdc
remove instructions to git exclude files in `src/nix-dev-shell/envrc-*`
WaffleLapkin Dec 9, 2024
05d8318
provide `libz.so.1` in the `nix-dev-shell`
WaffleLapkin Dec 9, 2024
974ccc1
Auto merge of #129514 - estebank:default-field-values, r=compiler-errors
bors Dec 10, 2024
4007fc9
Tweak wording of non-const traits used as const bounds
estebank Dec 9, 2024
6e2e9f6
Don't ICE when encountering never in pattern
compiler-errors Dec 10, 2024
a73a6a0
Add diagnostic fix to remove unnecessary wrapper in type mismatch
Giga-Bowser Nov 1, 2024
4898f3f
fix: Handle the final statement in `SyntaxFactory::block_expr` properly
Giga-Bowser Nov 14, 2024
b76734f
minor: Migrate `remove_unnecessary_wrapper` to `SyntaxEditor`
Giga-Bowser Nov 15, 2024
5d1b6bf
Validate self in host predicates correctly
compiler-errors Dec 10, 2024
88c8b10
Add compiler-maintainers who requested to be on review rotation
wesleywiser Nov 12, 2024
ff7906b
Auto merge of #134096 - fmease:rollup-0asgoo8, r=fmease
bors Dec 10, 2024
edbfa31
Merge pull request #18650 from yuki0iq/fix-typo
lnicola Dec 10, 2024
95670ac
Merge pull request #18649 from roife/fix-issue-18648
lnicola Dec 10, 2024
b597d2a
Auto merge of #133902 - Kobzol:ci-dist-arm-runner, r=MarcoIeni
bors Dec 10, 2024
94d780d
Rollup merge of #131558 - sassman:feat/warnin-for-no-mangle-together-…
fmease Dec 10, 2024
783362d
Rollup merge of #133184 - osiewicz:wasm-fix-infinite-loop-in-remove-d…
fmease Dec 10, 2024
b1122b5
Rollup merge of #133456 - clubby789:cargo-update, r=ChrisDenton
fmease Dec 10, 2024
ce8d241
Rollup merge of #133472 - rust-wasi-web:master, r=joboet
fmease Dec 10, 2024
ea64a5d
Rollup merge of #133853 - onur-ozkan:use-vendor-directory-on-dist-bui…
fmease Dec 10, 2024
b493369
Rollup merge of #133946 - Zalathar:ready-first, r=oli-obk
fmease Dec 10, 2024
4d544d9
Rollup merge of #134010 - RalfJung:promoted-type-error-ice, r=oli-obk
fmease Dec 10, 2024
bb8a206
Rollup merge of #134029 - Zalathar:zero, r=oli-obk
fmease Dec 10, 2024
79a824c
Rollup merge of #134071 - Kobzol:ci-renovatebot, r=MarcoIeni
fmease Dec 10, 2024
8434a6e
Rollup merge of #134102 - WaffleLapkin:nix-dev-shell-fixups-2024-12-1…
fmease Dec 10, 2024
9a6deba
run-make: Fix `assert_stderr_not_contains_regex`
jyn514 Dec 10, 2024
4996052
Auto merge of #134108 - fmease:rollup-tbtwm6j, r=fmease
bors Dec 10, 2024
a8d11ea
stabilize const_nonnull_new
RalfJung Dec 10, 2024
f94953d
Address the feedback from Veykril
SomeoneToIgnore Dec 10, 2024
0680155
rustc_target: ppc64 target string fixes for LLVM 20
durin42 Dec 10, 2024
1ce1560
Address the feedback from pascalkuthe
SomeoneToIgnore Dec 10, 2024
604ba92
bootstrap: Forward cargo JSON output to stout, not stderr
Zalathar Dec 10, 2024
5416501
Rollup merge of #133478 - aDotInTheVoid:finally, r=fmease
fmease Dec 10, 2024
7459a4f
Rollup merge of #133967 - daltenty:daltenty/bnoipath, r=jieyouxu
fmease Dec 10, 2024
0ff8ee6
Rollup merge of #133970 - xingxue-ibm:sigaction, r=nnethercote
fmease Dec 10, 2024
ceaca6b
Rollup merge of #133980 - xingxue-ibm:ln-option-aix, r=jieyouxu
fmease Dec 10, 2024
3eaa785
Rollup merge of #134008 - jswrenn:unsafe-fields-copy, r=compiler-errors
fmease Dec 10, 2024
193a95d
Rollup merge of #134017 - compiler-errors:call-once-deduction, r=jiey…
fmease Dec 10, 2024
8e9953f
Rollup merge of #134023 - onur-ozkan:132507, r=jieyouxu
fmease Dec 10, 2024
599ff4d
Rollup merge of #134041 - clubby789:debugvis-sourcemap, r=jieyouxu
fmease Dec 10, 2024
06107a2
Rollup merge of #134065 - nnethercote:mv-write_graphviz_results, r=tm…
fmease Dec 10, 2024
0f1b827
Rollup merge of #134106 - wesleywiser:update_compiler_review_queue_ma…
fmease Dec 10, 2024
c42c248
Rollup merge of #134123 - Zalathar:json-output, r=jieyouxu,clubby789
fmease Dec 10, 2024
33c245b
Auto merge of #134125 - fmease:rollup-u38o3ob, r=fmease
bors Dec 10, 2024
bab1fcb
Fix type (exit → exist)
tbu- Nov 28, 2024
e1689e6
Remove Felix from ping groups and review rotation
oli-obk Dec 10, 2024
3bc26ba
minor: Add `item_enum` constructor to `SyntaxFactory`
Giga-Bowser Dec 10, 2024
028ca8e
De-duplicate and improve definition of core::ffi::c_char
arichardson Nov 13, 2024
e8bcce7
Remove l4re from the unsigned char operating system list
arichardson Dec 4, 2024
dd3e98c
Add references to the specific ABI documents
arichardson Dec 10, 2024
d9bb8fc
minor: Add `whitespace` constructor to `SyntaxFactory`
Giga-Bowser Dec 5, 2024
26e7e4f
minor: Add `ty_infer` constructor to `SyntaxFactory`
Giga-Bowser Dec 10, 2024
5eac9c0
Excercise const trait interaction with default fields
estebank Dec 9, 2024
3b78166
minor: Migrate `generate_enum_variant` to `SyntaxEditor`
Giga-Bowser Dec 10, 2024
0b121ef
feat: preserve order of parameters in extract_functions
roife Dec 10, 2024
5bd9602
Rollup merge of #133583 - tbu-:pr_fix_typo2, r=compiler-errors
fmease Dec 10, 2024
0064e73
Rollup merge of #134042 - sayantn:power8-crypto, r=jieyouxu
fmease Dec 10, 2024
185440a
Rollup merge of #134094 - estebank:const-trait-errors, r=compiler-errors
fmease Dec 10, 2024
f621be4
Rollup merge of #134100 - eholk:noop-rustc-const-stable, r=dtolnay
fmease Dec 10, 2024
c5a8386
Rollup merge of #134103 - compiler-errors:never-pat-range, r=oli-obk
fmease Dec 10, 2024
0b9e74a
Rollup merge of #134113 - jyn514:run-make-contains, r=jieyouxu
fmease Dec 10, 2024
6d17cb8
Rollup merge of #134115 - durin42:ppc64-target-string, r=jieyouxu
fmease Dec 10, 2024
e822dfc
Rollup merge of #134116 - RalfJung:const_nonnull_new, r=jhpratt
fmease Dec 10, 2024
e60f6cd
Rollup merge of #134120 - oli-obk:push-vryonyoqmonv, r=oli-obk
fmease Dec 10, 2024
979eb4e
Further document default field test
estebank Dec 10, 2024
916d279
Remove more traces of anonymous ADTs
compiler-errors Dec 10, 2024
bd8f8e0
codegen `#[naked]` functions using `global_asm!`
folkertdev Aug 8, 2024
69a0c64
fix the `naked-asan` test
folkertdev Dec 1, 2024
4202c1e
make naked function generics test stricter
folkertdev Dec 9, 2024
9aabef1
emit `.weak_definition` instead of `.weak` on macos
folkertdev Dec 10, 2024
e134c74
Rudimentary heuristic to insert parentheses when needed for RPIT over…
compiler-errors Dec 10, 2024
ec68498
Rename projection_def_id to item_def_id
compiler-errors Dec 11, 2024
e37d7c0
Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless
tbu- Dec 9, 2024
45ad5a5
Add vacation entry in triagebot.toml
celinval Dec 11, 2024
5a6036a
Auto merge of #134137 - fmease:rollup-u1p7swx, r=fmease
bors Dec 11, 2024
7c4ac71
coverage: Extract function metadata handling to a `covfun` submodule
Zalathar Dec 11, 2024
611c72f
Merge pull request #18656 from roife/fix-issue-18639
Veykril Dec 11, 2024
b20d1b8
Merge pull request #18657 from Giga-Bowser/generate-enum-variant
Veykril Dec 11, 2024
e1a27b8
Merge pull request #18653 from SomeoneToIgnore/hash-completions
Veykril Dec 11, 2024
536eea3
Merge pull request #18458 from Giga-Bowser/master
Veykril Dec 11, 2024
6a8c016
coverage: Reify `CovfunRecord` as an intermediate step
Zalathar Dec 11, 2024
43b4af5
Rollup merge of #134079 - tbu-:pr_doc_x8_to_from_xe_bytes, r=jhpratt
jhpratt Dec 11, 2024
5cf16d8
Rollup merge of #134105 - compiler-errors:validate-self-preds, r=wesl…
jhpratt Dec 11, 2024
fe7fc76
Rollup merge of #134136 - estebank:const-trait-default-field-test, r=…
jhpratt Dec 11, 2024
2891a92
Rollup merge of #134139 - mustartt:pgo-linker-flag, r=saethlin
jhpratt Dec 11, 2024
16b6493
Rollup merge of #134141 - compiler-errors:anon-adt, r=lqd
jhpratt Dec 11, 2024
f103076
Rollup merge of #134142 - compiler-errors:paren-sug, r=jieyouxu
jhpratt Dec 11, 2024
c4e27d6
Rollup merge of #134158 - compiler-errors:item-def-id, r=jackh726
jhpratt Dec 11, 2024
c384b28
Rollup merge of #134160 - celinval:chores-vacation, r=jieyouxu
jhpratt Dec 11, 2024
1649eb6
Preparing for merge from rust-lang/rust
lnicola Dec 11, 2024
5db2aa8
Merge from rust-lang/rust
lnicola Dec 11, 2024
884f57f
Bump rustc crates
lnicola Dec 11, 2024
e6fbb5c
fix: Swallow rustfmt parsing panics
Veykril Dec 11, 2024
8172088
Merge pull request #18662 from lnicola/sync-from-rust
lnicola Dec 11, 2024
a18e38e
Merge pull request #18663 from Veykril/push-syoklzkntykn
Veykril Dec 11, 2024
9e6b7c1
coverage: Adjust a codegen test to ignore the order of covmap/covfun …
Zalathar Dec 11, 2024
512f3fd
coverage: Only generate a CGU's covmap record if it has covfun records
Zalathar Dec 11, 2024
3f3a9bf
coverage: Store intermediate region tables in `CovfunRecord`
Zalathar Dec 11, 2024
48b8832
wasm(32|64): update alignment string
durin42 Dec 11, 2024
55806e5
document check_expr_field
Dec 10, 2024
1f3bf23
Auto merge of #134164 - jhpratt:rollup-s7z0vcc, r=jhpratt
bors Dec 11, 2024
fe516ef
Rollup merge of #132975 - arichardson:ffi-c-char, r=tgross35
matthiaskrgr Dec 11, 2024
2e60288
Rollup merge of #133598 - ChayimFriedman2:get-many-mut-detailed-err, …
matthiaskrgr Dec 11, 2024
90a42c2
Rollup merge of #134148 - dev-ardi:cleanup_check_field_expr, r=compil…
matthiaskrgr Dec 11, 2024
13c13ee
Rollup merge of #134163 - Zalathar:covfun, r=SparrowLii,jieyouxu
matthiaskrgr Dec 11, 2024
eefefbe
Rollup merge of #134165 - durin42:wasm-target-string, r=jieyouxu
matthiaskrgr Dec 11, 2024
531e578
Rollup merge of #134170 - lnicola:sync-from-ra, r=lnicola
matthiaskrgr Dec 11, 2024
21fe748
Auto merge of #134177 - matthiaskrgr:rollup-hgp8q60, r=matthiaskrgr
bors Dec 11, 2024
1daec06
Auto merge of #128004 - folkertdev:naked-fn-asm, r=Amanieu
bors Dec 11, 2024
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 1 addition & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
BasedOnStyle: LLVM
6 changes: 6 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,9 @@ b2d2184edea578109a48ec3d8decbee5948e8f35
# test directives migration
6e48b96692d63a79a14563f27fe5185f122434f8
ec2cc761bc7067712ecc7734502f703fe3b024c8
# format use declarations
84ac80f1921afc243d71fd0caaa4f2838c294102
# bless mir-opt tests to add `copy`
99cb0c6bc399fb94a0ddde7e9b38e9c00d523bad
# reformat with rustfmt edition 2024
c682aa162b0d41e21cc6748f4fecfe01efb69d1f
6 changes: 4 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
*.cpp rust
*.h rust
*.rs rust diff=rust
*.fixed linguist-language=Rust
*.mir linguist-language=Rust
*.fixed linguist-language=Rust -merge
*.mir linguist-language=Rust -merge
*.stderr -merge
*.stdout -merge
src/etc/installer/gfx/* binary
src/vendor/** -text
Cargo.lock linguist-generated=false
Expand Down
4 changes: 0 additions & 4 deletions .github/ISSUE_TEMPLATE/blank_issue.md

This file was deleted.

2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/tracking_issue.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ for larger features an implementation could be broken up into multiple PRs.

[stabilization-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#stabilization-pr
[doc-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#documentation-prs
[nightly-style-procedure]: https://github.com/rust-lang/style-team/blob/master/nightly-style-procedure.md
[nightly-style-procedure]: https://github.com/rust-lang/style-team/blob/main/nightly-style-procedure.md
[Style Guide]: https://github.com/rust-lang/rust/tree/master/src/doc/style-guide

### Unresolved Questions
Expand Down
12 changes: 12 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!-- homu-ignore:start -->
<!--
If this PR is related to an unstable feature or an otherwise tracked effort,
please link to the relevant tracking issue here. If you don't know of a related
tracking issue or there are none, feel free to ignore this.

This PR will get automatically assigned to a reviewer. In case you would like
a specific user to review your work, you can assign it to them by using

r\? <reviewer name> (with the `\` removed)
-->
<!-- homu-ignore:end -->
14 changes: 14 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
// Let Renovatebot keep an opened issue that tracks our dependencies
"dependencyDashboard": true,
// Disable "normal" package updates
"enabledManagers": [],
// Update lockfiles once per week
"lockFileMaintenance": {
"enabled": true,
"schedule": [
"before 5am on Tuesday"
]
}
}
36 changes: 29 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ concurrency:
cancel-in-progress: true
env:
TOOLSTATE_REPO: "https://github.com/rust-lang-nursery/rust-toolstate"
# This will be empty in PR jobs.
TOOLSTATE_REPO_ACCESS_TOKEN: ${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}
jobs:
# The job matrix for `calculate_matrix` is defined in src/ci/github-actions/jobs.yml.
# It calculates which jobs should be executed, based on the data of the ${{ github }} context.
Expand All @@ -63,7 +65,7 @@ jobs:
defaults:
run:
shell: ${{ contains(matrix.os, 'windows') && 'msys2 {0}' || 'bash' }}
timeout-minutes: 600
timeout-minutes: 360
env:
CI_JOB_NAME: ${{ matrix.image }}
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
Expand Down Expand Up @@ -93,8 +95,6 @@ jobs:
path-type: inherit
install: >
make
dos2unix
diffutils

- name: disable git crlf conversion
run: git config --global core.autocrlf false
Expand All @@ -104,6 +104,14 @@ jobs:
with:
fetch-depth: 2

# Free up disk space on Linux by removing preinstalled components that
# we do not need. We do this to enable some of the less resource
# intensive jobs to run on free runners, which however also have
# less disk space.
- name: free up disk space
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be
if: matrix.free_disk

# Rust Log Analyzer can't currently detect the PR number of a GitHub
# Actions build on its own, so a hint in the log message is needed to
# point it in the right direction.
Expand All @@ -122,6 +130,9 @@ jobs:
# which then uses log commands to actually set them.
EXTRA_VARIABLES: ${{ toJson(matrix.env) }}

- name: setup upstream remote
run: src/ci/scripts/setup-upstream-remote.sh

- name: ensure the channel matches the target branch
run: src/ci/scripts/verify-channel.sh

Expand Down Expand Up @@ -155,9 +166,6 @@ jobs:
- name: checkout submodules
run: src/ci/scripts/checkout-submodules.sh

- name: install MSYS2
run: src/ci/scripts/install-msys2.sh

- name: install MinGW
run: src/ci/scripts/install-mingw.sh

Expand Down Expand Up @@ -194,6 +202,11 @@ jobs:
- name: create github artifacts
run: src/ci/scripts/create-doc-artifacts.sh

- name: print disk usage
run: |
echo "disk usage:"
df -h

- name: upload artifacts to github
uses: actions/upload-artifact@v4
with:
Expand All @@ -215,6 +228,16 @@ jobs:
# erroring about invalid credentials instead.
if: github.event_name == 'push' || env.DEPLOY == '1' || env.DEPLOY_ALT == '1'

- name: upload job metrics to DataDog
if: needs.calculate_matrix.outputs.run_type != 'pr'
env:
DATADOG_SITE: datadoghq.com
DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
DD_GITHUB_JOB_NAME: ${{ matrix.name }}
run: |
npm install -g @datadog/datadog-ci@^2.x.x
python3 src/ci/scripts/upload-build-metrics.py build/cpu-usage.csv

# This job isused to tell bors the final status of the build, as there is no practical way to detect
# when a workflow is successful listening to webhooks only in our current bors implementation (homu).
outcome:
Expand All @@ -239,6 +262,5 @@ jobs:
shell: bash
if: needs.calculate_matrix.outputs.run_type == 'auto'
env:
TOOLSTATE_REPO_ACCESS_TOKEN: ${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}
TOOLSTATE_ISSUES_API_URL: https://api.github.com/repos/rust-lang/rust/issues
TOOLSTATE_PUBLISH: 1
21 changes: 17 additions & 4 deletions .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,27 @@ jobs:
rustup toolchain install --no-self-update --profile minimal $TOOLCHAIN
rustup default $TOOLCHAIN

- name: cargo update
- name: cargo update compiler & tools
# Remove first line that always just says "Updating crates.io index"
run: cargo update 2>&1 | sed '/crates.io index/d' | tee -a cargo_update.log
run: |
echo -e "\ncompiler & tools dependencies:" >> cargo_update.log
cargo update 2>&1 | sed '/crates.io index/d' | tee -a cargo_update.log
- name: cargo update library
run: |
echo -e "\nlibrary dependencies:" >> cargo_update.log
cargo update --manifest-path library/Cargo.toml 2>&1 | sed '/crates.io index/d' | tee -a cargo_update.log
- name: cargo update rustbook
run: |
echo -e "\nrustbook dependencies:" >> cargo_update.log
cargo update --manifest-path src/tools/rustbook/Cargo.toml 2>&1 | sed '/crates.io index/d' | tee -a cargo_update.log
- name: upload Cargo.lock artifact for use in PR
uses: actions/upload-artifact@v4
with:
name: Cargo-lock
path: Cargo.lock
path: |
Cargo.lock
library/Cargo.lock
src/tools/rustbook/Cargo.lock
retention-days: 1
- name: upload cargo-update log artifact for use in PR
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -113,7 +126,7 @@ jobs:
git config user.name github-actions
git config user.email [email protected]
git switch --force-create cargo_update
git add ./Cargo.lock
git add ./Cargo.lock ./library/Cargo.lock ./src/tools/rustbook/Cargo.lock
git commit --no-verify --file=commit.txt

- name: push
Expand Down
22 changes: 20 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,13 @@ Session.vim
*.iml
.vscode
.project
.vim/
.helix/
.zed/
.favorites.json
.settings/
.vs/
.dir-locals.el

## Tool
.valgrindrc
Expand All @@ -42,16 +46,21 @@ no_llvm_build
/inst/
/llvm/
/mingw-build/
build/
!/compiler/rustc_mir_build/src/build/
/build
/build-rust-analyzer/
/dist/
/unicode-downloads
/target
/library/target
/src/bootstrap/target
/src/tools/x/target
# Created by default with `src/ci/docker/run.sh`
/obj/
# Created by nix dev shell / .envrc
src/tools/nix-dev-shell/flake.lock

## ICE reports
rustc-ice-*.txt

## Temporary files
*~
Expand All @@ -78,4 +87,13 @@ package.json
## Rustdoc GUI tests
tests/rustdoc-gui/src/**.lock

## direnv
/.envrc
/.direnv/

## nix
/flake.nix
flake.lock
/default.nix

# Before adding new lines, see the comment at the top.
14 changes: 13 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
[submodule "src/llvm-project"]
path = src/llvm-project
url = https://github.com/rust-lang/llvm-project.git
branch = rustc/18.0-2024-02-13
branch = rustc/19.1-2024-12-03
shallow = true
[submodule "src/doc/embedded-book"]
path = src/doc/embedded-book
Expand All @@ -43,3 +43,15 @@
path = library/backtrace
url = https://github.com/rust-lang/backtrace-rs.git
shallow = true
[submodule "src/tools/rustc-perf"]
path = src/tools/rustc-perf
url = https://github.com/rust-lang/rustc-perf.git
shallow = true
[submodule "src/tools/enzyme"]
path = src/tools/enzyme
url = https://github.com/EnzymeAD/Enzyme.git
shallow = true
[submodule "src/gcc"]
path = src/gcc
url = https://github.com/rust-lang/gcc.git
shallow = true
2 changes: 2 additions & 0 deletions .ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Make vscode *not* count `config.toml` as ignored, so it is included in search
!/config.toml
Loading