Skip to content

Resync #3

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

Merged
merged 10,000 commits into from
Oct 30, 2024
Merged
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
36dda45
add a HACK to allow stdarch migration
RalfJung Oct 8, 2024
280790b
Rollup merge of #132106 - maxcabrajac:ident_ref, r=petrochenkov
matthiaskrgr Oct 25, 2024
f8cae25
Rollup merge of #132130 - onur-ozkan:remove-ci-change-id, r=Kobzol
matthiaskrgr Oct 25, 2024
4f2e9c5
Rollup merge of #132137 - RalfJung:behavior, r=Noratrieb
matthiaskrgr Oct 25, 2024
b188577
Auto merge of #131917 - jieyouxu:rmake-clang, r=Kobzol
bors Oct 25, 2024
8849ac6
tcx.is_const_fn doesn't work the way it is described, remove it
RalfJung Oct 12, 2024
9ebba2f
Update cargo
weihanglo Oct 25, 2024
ad76564
Ensure that resume arg outlives region bound for coroutines
compiler-errors Oct 25, 2024
bd8477b
Revert "Emit error when calling/declaring functions with unavailable …
lqd Oct 25, 2024
c1db4dc
Auto merge of #132148 - matthiaskrgr:rollup-c155tcy, r=matthiaskrgr
bors Oct 25, 2024
e2d3f5a
Allow building rustc's LLVM with Offload support
ZuseZ4 Oct 11, 2024
19b2142
coverage: Don't rely on the custom traversal to find enclosing loops
Zalathar Oct 23, 2024
d94a76a
Update Fuchsia CI script for package serving
claywilkinson Oct 25, 2024
54761cb
Auto merge of #131349 - RalfJung:const-stability-checks, r=compiler-e…
bors Oct 25, 2024
ce4fc99
Fix indentation
tmandry Oct 25, 2024
a06b7cb
Auto merge of #132149 - weihanglo:update-cargo, r=weihanglo
bors Oct 26, 2024
f6fea83
Effects cleanup
fee1-dead Oct 26, 2024
f2f6723
Deny calls to non-`#[const_trait]` methods in MIR constck
fee1-dead Oct 26, 2024
ae4c6b6
Auto merge of #132152 - lqd:revert-127731, r=compiler-errors
bors Oct 26, 2024
8207d89
Rollup merge of #132114 - jieyouxu:features-bundle, r=fee1-dead
matthiaskrgr Oct 26, 2024
42a0e40
Rollup merge of #132163 - claywilkinson:master, r=tmandry
matthiaskrgr Oct 26, 2024
56463df
Rollup merge of #132168 - fee1-dead-contrib:fxclean, r=compiler-errors
matthiaskrgr Oct 26, 2024
df9829c
indicate more explicitly where we close host file/dir handles
RalfJung Oct 25, 2024
3ff01dd
automatic PR: explain how to trigger CI
RalfJung Oct 26, 2024
d09fbe3
Merge pull request #3994 from RalfJung/auto-pr
saethlin Oct 26, 2024
fe425cd
Turn Remove dbg into a quick fix for better prioritization
lnicola Oct 26, 2024
ed670e0
Merge pull request #18415 from lnicola/nicer-remove-dbg
lnicola Oct 26, 2024
0d653a5
coverage: Add links to LLVM docs for the coverage mapping format
Zalathar Oct 26, 2024
510090f
Start using `Option::is_none_or`
766974616c79 Oct 7, 2024
f719ee7
Use method syntax
766974616c79 Oct 7, 2024
56b0299
Bump MSRV to 1.82
lnicola Oct 26, 2024
80d0d92
Auto merge of #132171 - matthiaskrgr:rollup-tp75ge7, r=matthiaskrgr
bors Oct 26, 2024
d1530f0
Merge pull request #3993 from RalfJung/dir-entry-drop-explicit
RalfJung Oct 26, 2024
72664f7
fix error returned from readdir_r when isolation is enabled
RalfJung Oct 26, 2024
3f763c7
do not use host 'raw_os_error' to compute target error code
RalfJung Oct 26, 2024
4a34e27
do not set the file type to an error code
RalfJung Oct 26, 2024
867640e
x86 target features: make pclmulqdq imply sse2
RalfJung Oct 26, 2024
144a12a
Add a macro that derives `TryFrom<u32>` for fieldless enums
Zalathar Oct 25, 2024
983d258
Use safe wrappers `get_linkage` and `set_linkage`
Zalathar Oct 25, 2024
b114040
Use safe wrappers `get_visibility` and `set_visibility`
Zalathar Oct 19, 2024
ec41e6d
Add a wrapper type for raw enum values returned by LLVM
Zalathar Oct 25, 2024
96993a9
Use LLVM-C APIs for getting/setting linkage
Zalathar Oct 25, 2024
f249fdd
Add AST unpretty test for unsafe attribute
Urgau Oct 26, 2024
f5b6f93
Print unsafety of attribute in AST unpretty
Urgau Oct 26, 2024
17f8215
Auto merge of #131527 - ZuseZ4:enable-llvm-offload-runtime, r=Kobzol
bors Oct 26, 2024
dd3dc10
Fix code HTML items making big blocks if too long
GuillaumeGomez Oct 26, 2024
ae66380
Add GUI regression test for code in doc blocks
GuillaumeGomez Oct 26, 2024
c26280a
Rollup merge of #132124 - Zalathar:consolidate-covstar, r=jieyouxu
jieyouxu Oct 26, 2024
7981aca
Rollup merge of #132140 - heiher:loong-lsx, r=Urgau
jieyouxu Oct 26, 2024
bafe790
Rollup merge of #132169 - fee1-dead-contrib:consttraitsck, r=compiler…
jieyouxu Oct 26, 2024
656a2ec
Rollup merge of #132174 - RalfJung:pclmulqdq, r=calebzulawski
jieyouxu Oct 26, 2024
50e78b8
Rollup merge of #132180 - Urgau:ast_pretty-unsafe-attr, r=compiler-er…
jieyouxu Oct 26, 2024
9260be3
Auto merge of #132184 - jieyouxu:rollup-81ht12w, r=jieyouxu
bors Oct 26, 2024
5f47391
Downgrade `untranslatable_diagnostic` and `diagnostic_outside_of_impl…
jieyouxu Oct 26, 2024
ca0e5df
Merge pull request #3995 from RalfJung/readdir_r
oli-obk Oct 26, 2024
4d88de2
Auto merge of #125116 - blyxyas:ignore-allowed-lints-final, r=cjgillot
bors Oct 26, 2024
13ec1b0
Rollup merge of #131875 - juntyr:wasm-notification-groups-triage, r=M…
matthiaskrgr Oct 26, 2024
1f6cb85
Rollup merge of #132019 - daboross:document-partialeq-oncelock, r=Mar…
matthiaskrgr Oct 26, 2024
5dd6010
Rollup merge of #132182 - jieyouxu:downgrade-untranslatable, r=compil…
matthiaskrgr Oct 26, 2024
00444ba
Round negative signed integer towards zero in `iN::midpoint`
Urgau Oct 26, 2024
6ab87f8
Collect item bounds for RPITITs from trait where clauses just like as…
compiler-errors Oct 26, 2024
88f4425
Update GUI test
GuillaumeGomez Oct 26, 2024
9b18a12
Auto merge of #132190 - matthiaskrgr:rollup-rsocfiz, r=matthiaskrgr
bors Oct 26, 2024
b93a2dd
expand: Stop using artificial `ast::Item` for macros loaded from meta…
petrochenkov Oct 26, 2024
74b9de4
Add test for all midpoint expectations
Urgau Oct 26, 2024
bd95695
Pass constness with span into lower_poly_trait_ref
compiler-errors Oct 26, 2024
c1a08f9
Make clearer that guarantees in ABI compatibility are for Rust only
Mark-Simulacrum Oct 26, 2024
d6b2658
Correctly handle `#""` in edition <2024
ChayimFriedman2 Oct 26, 2024
4dce913
Auto merge of #131715 - tgross35:add-const_sockaddr_setters, r=Amanieu
bors Oct 26, 2024
2ebb8ec
docs: Correctly link riscv32e from platform-support.md
workingjubilee Oct 26, 2024
d976ca8
Use LLVM-C APIs for getting/setting visibility
Zalathar Oct 25, 2024
f7cf41c
Auto merge of #131900 - mrkajetanp:target-feature-pauth-lr, r=Amanieu
bors Oct 27, 2024
071bd3c
Split `macro-error` diagnostic so users can ignore only parts of it
ChayimFriedman2 Oct 27, 2024
42fbaf1
Add a new trait `proc_macro::ToTokens`
SpriteOvO Oct 9, 2024
be33e4f
Auto merge of #132167 - Zalathar:llvm-wrappers, r=jieyouxu
bors Oct 27, 2024
05f784c
Rollup merge of #132123 - lolbinarycat:rustdoc-search-foreign-func, r…
workingjubilee Oct 27, 2024
b805939
Rollup merge of #132183 - GuillaumeGomez:code-in-docblock, r=notriddle
workingjubilee Oct 27, 2024
b3ac6d3
Rollup merge of #132192 - petrochenkov:macfa, r=compiler-errors
workingjubilee Oct 27, 2024
b61d3f6
Rollup merge of #132205 - workingjubilee:rv32e-platform-docs-mislinke…
workingjubilee Oct 27, 2024
a826133
don't use absolute paths on `git(Some(self.src))`
onur-ozkan Oct 27, 2024
74bfa66
simplify force-recompile logic for "library"
onur-ozkan Oct 27, 2024
de7cef7
Auto merge of #132213 - workingjubilee:rollup-tg1g3l5, r=workingjubilee
bors Oct 27, 2024
442f395
Move an impl-Trait check from AST validation to AST lowering
fmease Oct 27, 2024
e454c45
Auto merge of #132091 - Zalathar:graph-loops, r=saethlin
bors Oct 27, 2024
e970e07
Support `cfg(true)` and `cfg(false)`
ChayimFriedman2 Oct 27, 2024
59dd642
Merge pull request #18417 from ChayimFriedman2/hash-string
Veykril Oct 27, 2024
66a81d3
Merge pull request #18418 from ChayimFriedman2/explicitly-disable
Veykril Oct 27, 2024
c50bfda
Add GUI regression test for doc struct fields margins
GuillaumeGomez Oct 27, 2024
6c70806
Invert token iteration order in macro mapping
Veykril Oct 25, 2024
9fa0146
Auto merge of #132191 - Urgau:midpoint_signed_towards_zero, r=dtolnay
bors Oct 27, 2024
0d441c3
Merge pull request #18410 from Veykril/veykril/push-lvwxpnowqrxk
Veykril Oct 27, 2024
f50b201
Put leading `|` in patterns under `OrPat`
ChayimFriedman2 Oct 27, 2024
14607ba
Merge pull request #18419 from ChayimFriedman2/leading-or
Veykril Oct 27, 2024
924ded6
Clean up some comments on lint implementation
ehuss Oct 27, 2024
5f5c243
Auto merge of #132215 - onur-ozkan:bootstrap-git, r=Kobzol
bors Oct 27, 2024
0abb563
fix: Allow public re-export of `extern crate` import
ShoyuVanilla Oct 25, 2024
9bb6e07
Dynamically link run-make support
clubby789 Oct 27, 2024
4ccaef1
Revert "ci update freebsd version proposal, freebsd 12 being eol."
devnexen Oct 27, 2024
81d6652
Auto merge of #131284 - dingxiangfei2009:rename-smart-ptr-to-coerce-r…
bors Oct 27, 2024
709805a
Properly resolve prelude paths inside modules inside blocks
ChayimFriedman2 Oct 27, 2024
8a9f400
add test for panicking drop in Box/Rc/Arc
Oct 27, 2024
4a71a59
Rc/Arc: don't leak the allocation if drop panics
Oct 27, 2024
60beb59
Rollup merge of #132043 - compiler-errors:simplify-rbv, r=cjgillot
matthiaskrgr Oct 27, 2024
574a8ba
Rollup merge of #132214 - fmease:mv-impl-trait-val-paths, r=compiler-…
matthiaskrgr Oct 27, 2024
4649a1b
Rollup merge of #132221 - ehuss:lint-docs, r=compiler-errors
matthiaskrgr Oct 27, 2024
afd8897
Rollup merge of #132228 - devnexen:ci_update_fbsd_revert, r=workingju…
matthiaskrgr Oct 27, 2024
0cace65
Rollup merge of #132234 - RalfJung:miri-sync, r=RalfJung
matthiaskrgr Oct 27, 2024
ad80da6
Use Hacker's Delight impl in `i64::midpoint` instead of wide `i128` impl
Urgau Oct 27, 2024
df4ca44
Auto merge of #132237 - matthiaskrgr:rollup-ulogwtd, r=matthiaskrgr
bors Oct 27, 2024
66209cd
Support `char::is_digit` in const contexts
ultrabear Oct 27, 2024
47e5759
add LetStmt arm
LastExceed Oct 16, 2024
b889a11
add test
LastExceed Oct 27, 2024
2507e83
Stop using the whole match expr span for an arm's obligation span
compiler-errors Oct 27, 2024
7f54b9e
Remove ObligationCause::span() method
compiler-errors Oct 27, 2024
d792e1f
remove dead code in CGREP script
jyn514 Dec 24, 2023
3141a65
give a better error for tuple structs in `derive(Diagnostic)`
jyn514 Dec 24, 2023
f1e5b36
port `tests/ui/linkage-attr/framework` to run-make
jyn514 Sep 19, 2024
675f447
don't pass `-L .../auxiliary` unless it exists
Jan 28, 2024
a201fab
Tweak `expand_incomplete_parse` warning.
nnethercote Apr 17, 2024
dd2b027
Tweak more warnings.
nnethercote Jun 25, 2024
2720706
rustc_transmute: Directly use types from rustc_abi
workingjubilee Oct 28, 2024
4839d6e
compiler: Add rustc_abi dependence to the compiler
workingjubilee Oct 28, 2024
6929a48
Auto merge of #132200 - Mark-Simulacrum:strengthen-cross-lang, r=Ralf…
bors Oct 28, 2024
6fc7ce4
Error on alignments greater than `isize::MAX`
asquared31415 Oct 12, 2024
e178129
compiler: Rename LayoutS to LayoutData
workingjubilee Oct 28, 2024
9015c6d
cg_clif: Rename LayoutS to LayoutData
workingjubilee Oct 28, 2024
2a9239a
rust-analyzer: Rename LayoutS to LayoutData
workingjubilee Oct 28, 2024
95a9d49
Rollup merge of #131633 - asquared31415:align_isize_max, r=jieyouxu
jieyouxu Oct 28, 2024
20d2a54
Rollup merge of #132086 - estebank:long-types, r=jieyouxu
jieyouxu Oct 28, 2024
5c14e3d
Rollup merge of #132220 - GuillaumeGomez:gui-test-struct-fields-margi…
jieyouxu Oct 28, 2024
afc93a9
Rollup merge of #132225 - clubby789:run-make-dynamic, r=jieyouxu
jieyouxu Oct 28, 2024
a9ee1d0
Rollup merge of #132227 - compiler-errors:better-const-span, r=Nadrieril
jieyouxu Oct 28, 2024
f14637b
Rollup merge of #132242 - ultrabear:const_is_digit, r=scottmcm
jieyouxu Oct 28, 2024
3e3feac
Rollup merge of #132243 - compiler-errors:no-span, r=jieyouxu
jieyouxu Oct 28, 2024
dfafbc4
Known-bug test for `keyword_idents` lint not propagating to other files
Zalathar Oct 28, 2024
cb08e08
Lower AST node id only once
adwinwhite Sep 12, 2024
1a39247
Add duplicate lowering check
adwinwhite Sep 15, 2024
e3bf50e
more consistent debug_assertions
adwinwhite Oct 14, 2024
3f73fe7
compiler: Depend on rustc_abi in rustc_lint
workingjubilee Oct 28, 2024
66701c4
Auto merge of #132251 - jieyouxu:rollup-mtv9mpd, r=jieyouxu
bors Oct 28, 2024
f370f34
bump stdarch
RalfJung Oct 28, 2024
7cfbe23
Unify variant struct fields margins with struct fields
GuillaumeGomez Oct 28, 2024
7ec2042
Merge pull request #18412 from lnicola/windows-no-gz
lnicola Oct 28, 2024
5346e84
Merge pull request #18256 from MoskalykA/use-is_none_or
lnicola Oct 28, 2024
26b6ccd
Add GUI regression test for variant structfields margins
GuillaumeGomez Oct 28, 2024
4bd84b2
Use a type-safe helper to cast `&str` and `&[u8]` to `*const c_char`
Zalathar Oct 28, 2024
32b17d5
Auto merge of #132244 - jyn514:linker-refactors, r=bjorn3
bors Oct 28, 2024
d066dfd
we can now enable the 'const stable fn must be stable' check
RalfJung Oct 26, 2024
25b0846
Merge pull request #18074 from ChayimFriedman2/typeref-source-map
Veykril Oct 28, 2024
81d885b
Rollup merge of #131391 - ChaiTRex:isqrt, r=scottmcm,tgross35
matthiaskrgr Oct 28, 2024
f62ed5e
Rollup merge of #132248 - workingjubilee:add-rustc-abi-to-transmute, …
matthiaskrgr Oct 28, 2024
a4acbd5
Rollup merge of #132252 - workingjubilee:rename-layouts-to-layoutdata…
matthiaskrgr Oct 28, 2024
2ca9b2c
Rollup merge of #132253 - Zalathar:keyword-idents-bug, r=jieyouxu
matthiaskrgr Oct 28, 2024
c69894e
New lint: `dangling_pointers_from_temporaries`
GrigorenkoPV Oct 16, 2024
82bfe05
refactor: cleaner check to return None
ChrisCho-H Oct 28, 2024
9f57edf
Auto merge of #132262 - matthiaskrgr:rollup-pcphi6l, r=matthiaskrgr
bors Oct 28, 2024
c155155
Move text-edit into ide-db
Veykril Oct 27, 2024
86ae80c
Reformat
Veykril Oct 28, 2024
003270d
Merge pull request #18312 from LastExceed/symbolkind-variable
Veykril Oct 28, 2024
e4f793a
riscv-soft-abi-with-float-features.rs: adapt for LLVM 20
krasimirgg Oct 28, 2024
9a7fd6f
Merge pull request #18422 from ChayimFriedman2/cursed-name-res
Veykril Oct 28, 2024
b12859a
Merge pull request #18413 from ShoyuVanilla/extern-crate-reexport
Veykril Oct 28, 2024
8e97f40
Merge pull request #18421 from Veykril/push-uxxwvwnqvomr
Veykril Oct 28, 2024
af764db
Merge pull request #18420 from ChayimFriedman2/cfg-true-false
Veykril Oct 28, 2024
0bff994
split clippy task for library and compiler, so different lints can be…
klensy Oct 7, 2024
746b675
fix clippy::clone_on_ref_ptr for compiler
klensy Oct 7, 2024
a946721
clarified doc for `std::fs::OpenOptions.truncate()`
yakiimoninja Oct 28, 2024
3f1be1e
Auto merge of #132145 - RalfJung:stdarch, r=Amanieu
bors Oct 28, 2024
2cc9d58
Updating Fuchsia platform-support documentation
claywilkinson Oct 28, 2024
c50bc62
Inline obligation_for_method
compiler-errors Oct 28, 2024
f202abd
Inline construct_obligation_for_trait
compiler-errors Oct 28, 2024
88a9edc
compiler: Add `is_uninhabited` and use LayoutS accessors
workingjubilee Oct 28, 2024
641ce06
rustdoc: Use accessors to interrogate type layouts
workingjubilee Oct 28, 2024
5f91811
stable_mir: Directly use types from rustc_abi
workingjubilee Oct 28, 2024
5910a4f
clarified std::fs truncate doc
yakiimoninja Oct 28, 2024
a24b377
Rollup merge of #130259 - adwinwhite:lower-node-id-once, r=cjgillot
workingjubilee Oct 28, 2024
c9347f1
Rollup merge of #131441 - SpriteOvO:proc-macro-to-tokens-trait, r=dto…
workingjubilee Oct 28, 2024
e20026c
Rollup merge of #132247 - workingjubilee:add-rustc-abi-to-smir, r=cel…
workingjubilee Oct 28, 2024
d6be363
Rollup merge of #132249 - workingjubilee:add-rustc-abi, r=compiler-er…
workingjubilee Oct 28, 2024
259ddf9
Rollup merge of #132255 - workingjubilee:layout-is-🏚️, r=compiler-errors
workingjubilee Oct 28, 2024
6ea83ff
Rollup merge of #132258 - GuillaumeGomez:variant-structfields-margins…
workingjubilee Oct 28, 2024
bd43f8e
Rollup merge of #132260 - Zalathar:type-safe-cast, r=compiler-errors
workingjubilee Oct 28, 2024
6fd4a76
Rollup merge of #132261 - ChrisCho-H:refactor/cleaner-check-none, r=c…
workingjubilee Oct 28, 2024
89ac69f
Rollup merge of #132271 - claywilkinson:master, r=tmandry
workingjubilee Oct 28, 2024
d4774ff
Remove my ping for rustdoc/clean/types.rs
camelid Oct 28, 2024
b2f335e
Split `boxed.rs` into a few modules
WaffleLapkin Oct 27, 2024
f0744ca
Bless a miri test
WaffleLapkin Oct 28, 2024
3240fe2
Remove some goofy slice logic from the operator path
compiler-errors Oct 28, 2024
5ae5323
Remove myself from mentions inside `tests/ui/check-cfg` directory
Urgau Oct 28, 2024
8b7b8e5
Hack out effects support for old solver
compiler-errors Oct 22, 2024
1763637
correct LLVMRustCreateThinLTOData arg types
klensy Oct 27, 2024
2b326e3
correct LLVMRustDIBuilderCreateOpLLVMFragment return type
klensy Oct 27, 2024
02ee639
Rc destructor: tweak inlining
Oct 28, 2024
a9d1762
Auto merge of #128985 - GrigorenkoPV:instantly-dangling-pointer, r=Urgau
bors Oct 29, 2024
4b27980
Preparing for merge from rust-lang/rust
lnicola Oct 29, 2024
772d138
Merge from rust-lang/rust
lnicola Oct 29, 2024
6c93c65
Delete `tests/crashes/23707.rs` because it's flaky
jieyouxu Oct 29, 2024
6f82a95
Rename `command-list.rs` to `directive-list.rs`
Zalathar Oct 29, 2024
49baaf0
Bump rustc crates
lnicola Oct 29, 2024
eae9d7a
Merge pull request #18431 from lnicola/sync-from-rust
lnicola Oct 29, 2024
2df8dbb
Auto merge of #132277 - workingjubilee:rollup-5e6q6e4, r=workingjubilee
bors Oct 29, 2024
c8a8c82
Auto merge of #132314 - lnicola:sync-from-ra, r=lnicola
bors Oct 29, 2024
5d0f52e
Rollup merge of #131375 - klensy:clone_on_ref_ptr, r=cjgillot
workingjubilee Oct 29, 2024
b496974
Rollup merge of #131520 - zachs18:const-str-split, r=Noratrieb
workingjubilee Oct 29, 2024
e97286e
Rollup merge of #132119 - compiler-errors:effects-old-solver, r=lcnr
workingjubilee Oct 29, 2024
b8f08fe
Rollup merge of #132194 - compiler-errors:rpitit-super-wc, r=spastorino
workingjubilee Oct 29, 2024
a70b90b
Rollup merge of #132216 - klensy:c_uint, r=cuviper
workingjubilee Oct 29, 2024
5ee13ae
Rollup merge of #132233 - WaffleLapkin:box-module-split, r=workingjub…
workingjubilee Oct 29, 2024
423d4f0
Rollup merge of #132266 - krasimirgg:llvm-20-testfix, r=hanna-kruppe,…
workingjubilee Oct 29, 2024
29a7ca9
Rollup merge of #132270 - yakiimoninja:fs-truncate-docs, r=Noratrieb
workingjubilee Oct 29, 2024
3eb7ddd
Rollup merge of #132284 - camelid:rm-ping, r=workingjubilee
workingjubilee Oct 29, 2024
9d58475
Rollup merge of #132293 - Urgau:tests-check-cfg-out-triagebot, r=lqd
workingjubilee Oct 29, 2024
0963636
Rollup merge of #132312 - jieyouxu:delete-crashes-23707, r=matthiaskrgr
workingjubilee Oct 29, 2024
6c5641c
Rollup merge of #132313 - Zalathar:directive-list, r=jieyouxu
workingjubilee Oct 29, 2024
ba81dbf
Don't set unnecessary module flag "LTOPostLink"
Zalathar Oct 29, 2024
8d2ed4f
Clean up FFI calls for setting module flags
Zalathar Oct 29, 2024
2dece5b
Auto merge of #132317 - workingjubilee:rollup-x21ncea, r=workingjubilee
bors Oct 29, 2024
826e0ca
powerpc64-ibm-aix: update maintainters
daltenty Oct 29, 2024
59944c9
xous: sync: remove `rustc_const_stable` attribute
xobs Oct 29, 2024
f51ec11
TypingMode :thinking:
lcnr Oct 17, 2024
ce22ccb
remove outdated debug_assertion
lcnr Oct 24, 2024
4f3a73a
update tools
lcnr Oct 24, 2024
524a22e
rebase
lcnr Oct 29, 2024
e473783
Auto merge of #132231 - lukas-code:rc-plug-leaks, r=tgross35
bors Oct 29, 2024
5b54286
Remove detail from label/note that is already available in other note
estebank Oct 24, 2024
5d6c499
Rollup merge of #131984 - dingxiangfei2009:stabilize-if-let-rescope, …
matthiaskrgr Oct 29, 2024
5dc3639
Rollup merge of #132151 - compiler-errors:coroutine-resume-outlives, …
matthiaskrgr Oct 29, 2024
f9fdd63
Rollup merge of #132157 - estebank:long-types-3, r=jieyouxu
matthiaskrgr Oct 29, 2024
1e3c0da
Rollup merge of #132274 - compiler-errors:cleanup-op-lookup, r=nnethe…
matthiaskrgr Oct 29, 2024
2707cd6
Rollup merge of #132319 - Zalathar:add-module-flag, r=jieyouxu
matthiaskrgr Oct 29, 2024
07afe8d
Rollup merge of #132321 - betrusted-io:xous/fix-rustc_const_stable-at…
matthiaskrgr Oct 29, 2024
0783af8
Point to Fuchsia team in platform support docs
djkoloski Oct 29, 2024
4a2e08a
Don't lint `irrefutable_let_patterns` on leading patterns if `else if…
Jarcho Aug 22, 2024
1e4f10b
Auto merge of #132326 - matthiaskrgr:rollup-ngyw18g, r=matthiaskrgr
bors Oct 29, 2024
e54c177
Remove `Analysis::into_engine`.
nnethercote Oct 29, 2024
d78e7bb
Remove `Engine`.
nnethercote Oct 29, 2024
d942113
Fix directives for lint-non-snake-case-crate
tmandry Sep 25, 2024
65ff2a6
Consistently use safe wrapper function `set_section`
Zalathar Oct 29, 2024
16422db
Auto merge of #132238 - Urgau:midpoint-i64-hackers-impl, r=joboet
bors Oct 30, 2024
c307159
Clean up FFI calls for operand bundles
Zalathar Oct 28, 2024
87d348b
Rollup merge of #129394 - Jarcho:irrefutable_let_patterns, r=Nadrieril
matthiaskrgr Oct 30, 2024
305508f
Rollup merge of #131856 - lcnr:typing-mode, r=compiler-errors
matthiaskrgr Oct 30, 2024
864837b
Rollup merge of #132322 - daltenty:daltenty/update-aix-maintainters, …
matthiaskrgr Oct 30, 2024
af33bc3
Rollup merge of #132327 - djkoloski:redirect_fuchsia_maintainers, r=c…
matthiaskrgr Oct 30, 2024
2480e3b
Rollup merge of #132332 - nnethercote:use-token_descr-more, r=estebank
matthiaskrgr Oct 30, 2024
2055237
Rollup merge of #132338 - nnethercote:rm-Engine, r=nnethercote
matthiaskrgr Oct 30, 2024
cf2cc01
Rollup merge of #132340 - Zalathar:set-section, r=compiler-errors
matthiaskrgr Oct 30, 2024
879c4d5
Rollup merge of #132342 - Zalathar:operand-bundle, r=workingjubilee
matthiaskrgr Oct 30, 2024
8b9f0f9
Auto merge of #132349 - matthiaskrgr:rollup-9g6s4p2, r=matthiaskrgr
bors Oct 30, 2024
298c746
Auto merge of #130860 - tmandry:fix-directives, r=jieyouxu
bors Oct 30, 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
4 changes: 0 additions & 4 deletions .github/ISSUE_TEMPLATE/blank_issue.md

This file was deleted.

6 changes: 4 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- 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
Expand All @@ -6,5 +7,6 @@ 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>
-->
r\? <reviewer name> (with the `\` removed)
-->
<!-- homu-ignore:end -->
43 changes: 33 additions & 10 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: 240
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,18 @@ 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: contains(matrix.os, 'ubuntu')
with:
# Removing packages with APT saves ~5 GiB, but takes several
# minutes (and potentially removes important packages).
large-packages: false

# 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 +134,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 @@ -154,12 +169,6 @@ jobs:

- name: checkout submodules
run: src/ci/scripts/checkout-submodules.sh

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
if: runner.environment == 'github-hosted'

- name: install MinGW
run: src/ci/scripts/install-mingw.sh
Expand Down Expand Up @@ -197,6 +206,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 @@ -218,6 +232,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 @@ -242,6 +266,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
19 changes: 19 additions & 0 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 @@ -48,10 +52,16 @@ build/
/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 +88,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.
10 changes: 9 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.1-2024-05-19
branch = rustc/19.1-2024-09-17
shallow = true
[submodule "src/doc/embedded-book"]
path = src/doc/embedded-book
Expand All @@ -47,3 +47,11 @@
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
9 changes: 8 additions & 1 deletion .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,15 @@ Ben Striegel <[email protected]>
Benjamin Jackman <[email protected]>
Benoît Cortier <[email protected]>
Bheesham Persaud <[email protected]> Bheesham Persaud <[email protected]>
bjorn3 <[email protected]> <[email protected]>
Björn Steinbrink <[email protected]> <[email protected]>
blake2-ppc <[email protected]> <blake2-ppc>
blyxyas <[email protected]> Alejandra González <[email protected]>
boolean_coercion <[email protected]>
Boris Egorov <[email protected]> <[email protected]>
bors <[email protected]> bors[bot] <26634292+bors[bot]@users.noreply.github.com>
bors <[email protected]> bors[bot] <bors[bot]@users.noreply.github.com>
Boxy <[email protected]> <[email protected]>
Braden Nelson <[email protected]>
Brandon Sanderson <[email protected]> Brandon Sanderson <[email protected]>
Brett Cannon <[email protected]> Brett Cannon <[email protected]>
Expand Down Expand Up @@ -146,6 +148,7 @@ David Klein <[email protected]>
David Manescu <[email protected]> <[email protected]>
David Ross <[email protected]>
David Wood <[email protected]> <[email protected]>
David Wood <[email protected]> <[email protected]>
Deadbeef <[email protected]>
Deadbeef <[email protected]> <[email protected]>
dependabot[bot] <dependabot[bot]@users.noreply.github.com> <27856297+dependabot-preview[bot]@users.noreply.github.com>
Expand Down Expand Up @@ -253,6 +256,7 @@ Jakub Adam Wieczorek <[email protected]>
Jakub Adam Wieczorek <[email protected]> <[email protected]>
Jakub Adam Wieczorek <[email protected]> <[email protected]>
Jakub Adam Wieczorek <[email protected]> <[email protected]>
Jakub Beránek <[email protected]> <[email protected]>
James [Undefined] <[email protected]>
James Deng <[email protected]> <[email protected]>
James Hinshelwood <[email protected]> <[email protected]>
Expand All @@ -277,6 +281,7 @@ Jerry Hardee <[email protected]>
Jesús Rubio <[email protected]>
Jethro Beekman <[email protected]>
Jian Zeng <[email protected]>
Jieyou Xu <[email protected]> <[email protected]>
Jihyun Yu <[email protected]> <[email protected]>
Jihyun Yu <[email protected]> jihyun <[email protected]>
Jihyun Yu <[email protected]> Jihyun Yu <[email protected]>
Expand Down Expand Up @@ -309,6 +314,7 @@ Josh Driver <[email protected]>
Josh Holmer <[email protected]>
Josh Stone <[email protected]> <[email protected]>
Josh Stone <[email protected]> <[email protected]>
Julia Ryan <[email protected]> <[email protected]>
Julian Knodt <[email protected]>
jumbatm <[email protected]> <[email protected]>
Junyoung Cho <[email protected]>
Expand Down Expand Up @@ -379,6 +385,7 @@ Markus Westerlind <[email protected]> Markus <[email protected]>
Martin Carton <[email protected]>
Martin Habovštiak <[email protected]>
Martin Hafskjold Thoresen <[email protected]>
Martin Nordholts <[email protected]> <[email protected]>
Matej Lach <[email protected]> Matej Ľach <[email protected]>
Mateusz Mikuła <[email protected]>
Mateusz Mikuła <[email protected]> <[email protected]>
Expand Down Expand Up @@ -434,7 +441,7 @@ Nick Platt <[email protected]>
Niclas Schwarzlose <[email protected]>
Nicolas Abram <[email protected]>
Nicole Mazzuca <[email protected]>
Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> nils <[email protected]>
Noratrieb <48135649+Noratrieb@users.noreply.github.com> <[email protected]>
Nif Ward <[email protected]>
Nika Layzell <[email protected]> <[email protected]>
NODA Kai <[email protected]>
Expand Down
Loading