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

Add the wasm32-wasi-preview2 target #2

Merged
merged 5,599 commits into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
5599 commits
Select commit Hold shift + click to select a range
6e48b96
[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` dir…
jieyouxu Feb 22, 2024
cd25009
Re-bless tests/pretty
jieyouxu Feb 21, 2024
b74d8db
Fix example.
reitermarkus Feb 22, 2024
91535ad
remove `sub_relations` from infcx, recompute in diagnostics
lcnr Jan 15, 2024
f392a87
freshen: resolve root vars
lcnr Jan 15, 2024
f62f490
Auto merge of #121370 - jieyouxu:migrate-compiletest-directives, r=ol…
bors Feb 22, 2024
f7cdff8
overflow errors: change source to a concrete enum
lcnr Jan 15, 2024
49dc0f2
do not use <: in subtyping overflow msg
lcnr Jan 15, 2024
1efb747
Remove some annotations that just specify the default
oli-obk Feb 22, 2024
702225e
Rollup merge of #120598 - compiler-errors:no-rigid-check, r=lcnr
matthiaskrgr Feb 22, 2024
379ef9b
Rollup merge of #121386 - oli-obk:no_higher_ranked_opaques, r=lcnr
matthiaskrgr Feb 22, 2024
5a87e13
Rollup merge of #121393 - Nadrieril:match-lowering-testcase, r=matthe…
matthiaskrgr Feb 22, 2024
47bf8a6
Rollup merge of #121401 - eltociear:patch-25, r=nnethercote
matthiaskrgr Feb 22, 2024
01ec4eb
Rollup merge of #121427 - nnethercote:fix-Rocket, r=oli-obk
matthiaskrgr Feb 22, 2024
e064bf6
Rollup merge of #121439 - jrudolph:patch-1, r=bjorn3
matthiaskrgr Feb 22, 2024
5401098
Rollup merge of #121441 - lcnr:typesystem-cleanup, r=compiler-errors
matthiaskrgr Feb 22, 2024
4537e6d
Rollup merge of #121452 - jonathanpallant:patch-1, r=Amanieu
matthiaskrgr Feb 22, 2024
c71484e
change error messages to be incorrect, but more helpful
lcnr Feb 22, 2024
db950ef
region unification update universe of region vars
lcnr Feb 22, 2024
16350d7
add comment
lcnr Feb 22, 2024
6017de4
When encountering `<&T as Clone>::clone(x)` because `T: Clone`, sugge…
estebank Feb 22, 2024
e5b3c7e
Add `rustc_confusables` annotations to some stdlib APIs
estebank Feb 7, 2024
0e89465
On type error of method call arguments, look at confusables for sugge…
estebank Feb 7, 2024
e13d452
drive-by fmt cleanup
estebank Feb 9, 2024
d30dfb0
Provide more and more accurate suggestions when calling the wrong method
estebank Feb 9, 2024
385eea1
Consider methods from traits when suggesting typos
estebank Feb 10, 2024
e1e4da2
Make confusable suggestions `verbose`
estebank Feb 10, 2024
7688567
fix test
estebank Feb 13, 2024
14277ef
Better account for associated const found for fn call expr
estebank Feb 13, 2024
caa216d
Tweak wording of "implemented trait isn't imported" suggestion
estebank Feb 13, 2024
f566867
Add `flatmap`/`flat_map` -> `and_then` suggestions
estebank Feb 14, 2024
b59bd7f
review comments: clean up
estebank Feb 14, 2024
28c0287
Deduplicate some logic and reword output
estebank Feb 14, 2024
fdaaaa1
fix test
estebank Feb 14, 2024
d67dcf5
review comment: remove unnused return value
estebank Feb 14, 2024
91d0b37
Fix rebase
estebank Feb 22, 2024
d9ae43c
Auto merge of #121469 - matthiaskrgr:rollup-oaoxuo2, r=matthiaskrgr
bors Feb 22, 2024
7485392
Ignore compiletest test directive migration commits
jieyouxu Feb 22, 2024
5e6da72
Account for RPITIT in E0310 explicit lifetime constraint suggestion
estebank Feb 22, 2024
52227ed
set `llvm.assertions` to false in compiler profile
onur-ozkan Feb 22, 2024
397937d
Auto merge of #119989 - lcnr:sub_relations-bye-bye, r=compiler-errors
bors Feb 22, 2024
fa2921b
woops, soundly generalizing is hard
lcnr Feb 22, 2024
cdfb73a
fix: Fix proc-macro server not accounting for string delimiters corre…
Veykril Feb 22, 2024
efa6948
Fix rust-analyzer not enabling rust-analyzer spans on the proc-macro …
Veykril Feb 22, 2024
4f83e50
Revert some `span_bug`s to `span_delayed_bug`.
nnethercote Feb 22, 2024
1f54f71
Auto merge of #16637 - Veykril:fix-proc-macro-srv-literals, r=Veykril
bors Feb 22, 2024
dabacb7
fix CI
lcnr Feb 22, 2024
109321a
Revert some `span_bug`s to `span_delayed_bug`.
nnethercote Feb 22, 2024
21bb1a4
Allow for a missing `adt_def` in `NamePrivacyVisitor`.
nnethercote Feb 22, 2024
938e594
Remove an unnecessary `if let`.
nnethercote Feb 23, 2024
36f298c
Add some simple meta-tests for the handling of `filecheck` flags
Zalathar Feb 5, 2024
1e432dd
Simplify existing code for setting `filecheck` flags
Zalathar Feb 3, 2024
baec307
Allow tests to specify a `//@ filecheck-flags:` header
Zalathar Feb 3, 2024
c1889b5
Move existing coverage codegen tests into a subdirectory
Zalathar Feb 3, 2024
0c19c63
Convert `tests/run-make/instrument-coverage` to an ordinary codegen test
Zalathar Feb 3, 2024
e56cc84
Remove unhelpful `DEFINE_INTERNAL` from filecheck flags
Zalathar Feb 5, 2024
9137c1e
coverage: Use variable name `this` in `CoverageGraph::from_mir`
Zalathar Jan 2, 2024
a28d221
Auto merge of #120730 - estebank:confusable-api, r=oli-obk
bors Feb 23, 2024
71ff1c6
Auto merge of #121341 - GrigorenkoPV:bootstrap-rustup-cargo, r=onur-o…
bors Feb 23, 2024
41da3d6
Explicitly call `emit_stashed_diagnostics`.
nnethercote Feb 23, 2024
dda102c
Auto merge of #121432 - mj10021:issue-119851-fix, r=nnethercote
bors Feb 23, 2024
6dadb6e
Auto merge of #121448 - klensy:bump-22-02-24, r=clubby789
bors Feb 23, 2024
6e00f0d
Rollup merge of #121434 - nnethercote:fix-121208-fallout, r=lcnr
matthiaskrgr Feb 23, 2024
86727df
Rollup merge of #121471 - estebank:lint-clone, r=TaKO8Ki
matthiaskrgr Feb 23, 2024
977bbb4
Rollup merge of #121476 - onur-ozkan:update-compiler-profile, r=compi…
matthiaskrgr Feb 23, 2024
7ae95b2
Rollup merge of #121479 - lcnr:fix-generalize, r=compiler-errors
matthiaskrgr Feb 23, 2024
5de3a4c
Rollup merge of #121480 - nnethercote:fix-more-121208-fallout, r=lcnr
matthiaskrgr Feb 23, 2024
52805b0
Rollup merge of #121482 - nnethercote:fix-121455, r=oli-obk
matthiaskrgr Feb 23, 2024
3f693a1
Rollup merge of #121484 - Zalathar:this, r=oli-obk
matthiaskrgr Feb 23, 2024
6ee43bc
Rollup merge of #121487 - nnethercote:fix-121450, r=oli-obk
matthiaskrgr Feb 23, 2024
8bd33e3
coverage: Remove some lingering references to `pending_dups`
Zalathar Feb 21, 2024
44c8f55
coverage: Rename `is_closure` to `is_hole`
Zalathar Feb 21, 2024
9b7284d
fix: Fix deadlock in recreate_crate_graph <-> file_line_index
Veykril Feb 23, 2024
6648f19
Auto merge of #16645 - Veykril:deadlock, r=Veykril
bors Feb 23, 2024
ea2cc43
Auto merge of #121442 - lcnr:region-var-universe-uwu, r=compiler-errors
bors Feb 23, 2024
824d75c
remove repetitive words
cuishuang Feb 23, 2024
4f66783
Make timespec capping public to crate::sys
flba-eb Feb 23, 2024
6dca794
remove repetitive words
cuishuang Feb 23, 2024
7159aed
Use `br` instead of conditional when branching on constant
clubby789 Feb 5, 2024
52cea08
Auto merge of #121491 - matthiaskrgr:rollup-wkzqawy, r=matthiaskrgr
bors Feb 23, 2024
35a9e73
Don't ICE on anonymous struct in enum variant
clubby789 Feb 22, 2024
deddea0
Auto merge of #16646 - cuishuang:master, r=lnicola
bors Feb 23, 2024
ccf789b
By changing some attributes to only_local, reducing encoding attribut…
surechen Feb 23, 2024
b6a23b8
Auto merge of #121454 - reitermarkus:generic-nonzero-library, r=dtolnay
bors Feb 23, 2024
9a2d550
lint-overflowing-ops: unify cases and remove redundancy
RalfJung Feb 23, 2024
58c8c08
Get rid of some `#[allow(static_mut_refs)]`
GrigorenkoPV Feb 23, 2024
cc4d0e1
Optimize salsa some more
Veykril Feb 22, 2024
cbc579e
Auto merge of #16643 - Veykril:salsa-opt, r=Veykril
bors Feb 23, 2024
e656844
moved tests file
nshyrei Feb 23, 2024
26cb6c7
Rollup merge of #120742 - Nadrieril:use-min_exh_pats, r=compiler-errors
matthiaskrgr Feb 23, 2024
4d5c4e5
Rollup merge of #121470 - clubby789:anon-struct-in-enum, r=fmease
matthiaskrgr Feb 23, 2024
13b9bf5
Rollup merge of #121492 - Zalathar:hole, r=fmease
matthiaskrgr Feb 23, 2024
15b7795
Rollup merge of #121495 - cuishuang:master, r=clubby789
matthiaskrgr Feb 23, 2024
2e8177a
Rollup merge of #121498 - flba-eb:make_timespec_capping_public, r=Nil…
matthiaskrgr Feb 23, 2024
06e54f8
Rollup merge of #121510 - RalfJung:lint-overflowing-ops, r=oli-obk
matthiaskrgr Feb 23, 2024
c6a6e63
internal: Pin commit of rust-lang/rust for rustc-test metrics
Veykril Feb 23, 2024
21033f6
Auto merge of #121514 - matthiaskrgr:rollup-5f0vhv7, r=matthiaskrgr
bors Feb 23, 2024
84c5481
Auto merge of #16648 - Veykril:metrics-rustc, r=Veykril
bors Feb 23, 2024
62cb9d1
delay cloning of iterator items
matthiaskrgr Feb 23, 2024
d9a0862
internal: Disable rustc test metrics
Veykril Feb 23, 2024
c45b355
Auto merge of #16649 - Veykril:metrics-rustc, r=Veykril
bors Feb 23, 2024
8e0dd99
check that simd_insert/extract indices are in-bounds
RalfJung Feb 23, 2024
134e2b2
interpret: do no ICE on OOB shuffle/insert/extract indices
RalfJung Feb 23, 2024
838523d
Auto merge of #16621 - txase:no-build-with-bootstrap, r=Veykril
bors Feb 23, 2024
2dbd623
Auto merge of #121303 - GrigorenkoPV:static_mut_refs, r=oli-obk,RalfJung
bors Feb 23, 2024
86a7fc8
compiler: clippy::complexity fixes
matthiaskrgr Feb 23, 2024
7bc0435
cargo update
RalfJung Feb 23, 2024
40dc2b4
Auto merge of #3314 - RalfJung:up, r=RalfJung
bors Feb 23, 2024
0c3a524
Fix: Fix metrics CI failing
Veykril Feb 23, 2024
1214404
Auto merge of #16650 - Veykril:metrics-rustc, r=Veykril
bors Feb 23, 2024
6477973
internal: fix deadlock introduced by #16643
davidbarsky Feb 23, 2024
03b3cb6
Auto merge of #16652 - davidbarsky:david/deadlock-fix-for-16643, r=Ve…
bors Feb 23, 2024
8f359be
Auto merge of #119536 - Jules-Bertholet:const-barrier, r=dtolnay
bors Feb 23, 2024
7234c98
Fix incorrect doc of ScopedJoinHandle::is_finished
wgslr Feb 23, 2024
2f3c0b9
Ignore less tests in debug builds
saethlin Feb 23, 2024
8aaa04b
Apply suggestions from code review
zachs18 Feb 24, 2024
e0bfa5c
Rustdoc: include crate name in links for local primitives
gurry Feb 24, 2024
30429f8
feat: Add short flag -V for consistency with other rust tooling
graemer957 Feb 24, 2024
de4efa5
Tweak debug!() call
Nadrieril Feb 24, 2024
ff930d4
compiler/rustc_target/src/spec/base/apple/tests.rs: Avoid unnecessary…
Enselic Feb 24, 2024
4a8d0f7
Auto merge of #16654 - graemer957:feature/short_version_flag, r=lnicola
bors Feb 24, 2024
55ee140
update stdarch
RalfJung Feb 24, 2024
f32095c
promotion: don't promote int::MIN / -1
RalfJung Feb 23, 2024
ff187a9
library: use `addr_of!`
GrigorenkoPV Feb 24, 2024
b10ef3c
Rollup merge of #121435 - estebank:rpitit-static-119773, r=compiler-e…
matthiaskrgr Feb 24, 2024
dbe3398
Rollup merge of #121490 - gurry:121106-broken-usize-link-in-docs, r=n…
matthiaskrgr Feb 24, 2024
3b82773
Rollup merge of #121520 - matthiaskrgr:cloned, r=jackh726
matthiaskrgr Feb 24, 2024
b87a713
Rollup merge of #121522 - RalfJung:insert-extract-boundscheck, r=oli-obk
matthiaskrgr Feb 24, 2024
d978a1c
Rollup merge of #121531 - saethlin:ignore-less-debug, r=compiler-errors
matthiaskrgr Feb 24, 2024
7e8fa8f
Rollup merge of #121539 - Enselic:fix-large-move, r=Nilstrieb
matthiaskrgr Feb 24, 2024
ee23b78
Rollup merge of #121542 - RalfJung:stdarch, r=Amanieu
matthiaskrgr Feb 24, 2024
f08e2d4
Forbid use of `extern "C-unwind"` inside standard library
nbdd0121 Dec 16, 2023
f5b9eaf
Don't unnecessarily change `SIGPIPE` disposition in unix_sigpipe tests
Enselic Feb 24, 2024
613cb32
compiler: use `addr_of!`
GrigorenkoPV Feb 24, 2024
c7be443
Windows miri-script execution egronomics
RossSmyth Feb 24, 2024
2f1c9db
Auto merge of #3316 - RossSmyth:windows-script, r=RalfJung
bors Feb 24, 2024
3e7c2e1
Add "cargo miri clean" command
RossSmyth Feb 23, 2024
cd36cda
compiletest: call cargo-miri directly rather than via 'cargo run'
RalfJung Feb 24, 2024
4db9a36
Auto merge of #3312 - RossSmyth:miri-clean, r=RalfJung
bors Feb 24, 2024
6bdb8a4
Auto merge of #121523 - matthiaskrgr:comp_comp, r=Nilstrieb
bors Feb 24, 2024
55dcf9c
Auto merge of #3318 - RalfJung:compiletest-rebuilds, r=oli-obk
bors Feb 24, 2024
81d7069
Add `#[rustc_no_mir_inline]` for standard library UB checks
Noratrieb Feb 14, 2024
93ec0e6
Stabilize `cfg_target_abi`
ChrisDenton Jan 4, 2024
381d699
Auto merge of #121549 - matthiaskrgr:rollup-1hvu3lb, r=matthiaskrgr
bors Feb 24, 2024
ed75229
Rollup merge of #121343 - Takashiidobe:takashi/examples-for-slice, r=…
matthiaskrgr Feb 24, 2024
f4ba47f
Rollup merge of #121374 - Nadrieril:factor-explain, r=matthewjasper
matthiaskrgr Feb 24, 2024
59a2cd4
Rollup merge of #121474 - jieyouxu:ignore-directives-migration, r=Mar…
matthiaskrgr Feb 24, 2024
a189c89
Rollup merge of #121515 - RalfJung:fallible-promotion, r=oli-obk
matthiaskrgr Feb 24, 2024
106e30e
Rollup merge of #121530 - wgslr:master, r=Mark-Simulacrum
matthiaskrgr Feb 24, 2024
9975e84
Rollup merge of #121551 - nbdd0121:ffi_unwind, r=RalfJung
matthiaskrgr Feb 24, 2024
4c40153
Rollup merge of #121556 - GrigorenkoPV:addr_of, r=Nilstrieb
matthiaskrgr Feb 24, 2024
2401ae1
Make most bootstrap step types !Copy
Noratrieb Feb 24, 2024
24aa348
Add test cases for inlining compiler-private items
notriddle Feb 24, 2024
2ae1bb6
Auto merge of #121569 - matthiaskrgr:rollup-awglrax, r=matthiaskrgr
bors Feb 24, 2024
89d8e31
Auto merge of #120650 - clubby789:switchint-const, r=saethlin
bors Feb 25, 2024
e9f9594
Auto merge of #121114 - Nilstrieb:no-inline!, r=saethlin
bors Feb 25, 2024
a2f3c0c
Auto merge of #117107 - zachs18:mapped-mutex-guard, r=Amanieu
bors Feb 25, 2024
cc3df0a
remove platform-intrinsics ABI; make SIMD intrinsics be regular intri…
RalfJung Feb 23, 2024
c1d0e48
fix use of platform_intrinsics in tests
RalfJung Feb 23, 2024
9577051
bump rustc-build-sysroot
RalfJung Feb 25, 2024
4a2588a
Merge commit '4a8d0f7f565b6df45da5522dd7366a4df3460cd7' into sync-fro…
lnicola Feb 25, 2024
9caeabe
Add missing imports
lnicola Feb 25, 2024
5ee6a5d
Avoid using cfg(FALSE)
lnicola Feb 25, 2024
710048f
Auto merge of #121579 - RalfJung:miri, r=RalfJung
bors Feb 25, 2024
43fdd49
Auto merge of #121581 - lnicola:sync-from-ra, r=lnicola
bors Feb 25, 2024
5b7786c
make non-PartialEq-typed consts as patterns a hard error
RalfJung Feb 8, 2024
b2fbb8a
Use generic `NonZero` in tests.
reitermarkus Feb 22, 2024
26cd5d8
Auto merge of #118724 - onur-ozkan:refactor-x-install, r=Mark-Simulacrum
bors Feb 25, 2024
fa75571
Don't use `unwrap()` in `ArrayIntoIter` lint when typeck fails
gurry Feb 25, 2024
08caefb
Windows: Use ProcessPrng for random keys
ChrisDenton Dec 20, 2023
8f89cbd
Add ProcessPrng shim to Miri
ChrisDenton Feb 20, 2024
843eaf2
Cranelift: Don't use raw-dylib in std
ChrisDenton Feb 20, 2024
34aab62
Auto merge of #121337 - ChrisDenton:ProcessPrng, r=Mark-Simulacrum
bors Feb 25, 2024
3af67bb
Correctly handle if rustdoc JS script hash changed
GuillaumeGomez Feb 25, 2024
e13f454
Rollup merge of #119590 - ChrisDenton:cfg-target-abi, r=Nilstrieb
matthiaskrgr Feb 25, 2024
c99902e
Rollup merge of #120805 - RalfJung:const-pat-partial-eq, r=oli-obk
matthiaskrgr Feb 25, 2024
7c88ea2
Rollup merge of #121060 - clubby789:bool-newtypes, r=cjgillot
matthiaskrgr Feb 25, 2024
f780824
Rollup merge of #121284 - notriddle:notriddle/issue-106421, r=Mark-Si…
matthiaskrgr Feb 25, 2024
86a35c0
Rollup merge of #121324 - Nadrieril:unspecialize, r=cjgillot
matthiaskrgr Feb 25, 2024
4d442f5
Rollup merge of #121409 - compiler-errors:atb-cycle, r=cjgillot
matthiaskrgr Feb 25, 2024
f548636
Rollup merge of #121513 - nshyrei:fix_tests_module, r=cuviper
matthiaskrgr Feb 25, 2024
3d5fd9d
Rollup merge of #121570 - Nilstrieb:!copy, r=clubby789
matthiaskrgr Feb 25, 2024
a442388
Rollup merge of #121586 - gurry:121532-ice-unwrap-on-none, r=cjgillot
matthiaskrgr Feb 25, 2024
8c0b1fc
Auto merge of #121591 - matthiaskrgr:rollup-8wfhh3v, r=matthiaskrgr
bors Feb 25, 2024
b0d3e04
Auto merge of #120393 - Urgau:rfc3373-non-local-defs, r=WaffleLapkin
bors Feb 25, 2024
0ecbd06
Auto merge of #121182 - majaha:mingw_ci_new, r=Mark-Simulacrum
bors Feb 25, 2024
a3fce72
Add `ast::ExprKind::Dummy`
ShE3py Feb 25, 2024
c440a5b
Add `ErrorGuaranteed` to `ast::ExprKind::Err`
ShE3py Feb 25, 2024
34eae07
Remove `ast::` & `base::` prefixes from some builtin macros
ShE3py Feb 25, 2024
bf7d1b5
Move `emit_stashed_diagnostic` call in rustfmt.
nnethercote Feb 25, 2024
edda2a7
Revert some `span_bug`s to `span_delayed_bug`.
nnethercote Feb 25, 2024
0250ef2
Auto merge of #121461 - reitermarkus:generic-nonzero-tests, r=dtolnay
bors Feb 26, 2024
35421c7
Add synchronization library to run-make flags
ChrisDenton Feb 26, 2024
ff07f55
Actually use the right closure kind when checking async Fn goals
compiler-errors Feb 26, 2024
8bccceb
separate messages for individual categories
HTGAzureX1212 Feb 9, 2024
dc00e8c
Auto merge of #121317 - ChrisDenton:win10-sync, r=Mark-Simulacrum
bors Feb 26, 2024
eeeb9b4
add additional logging
lcnr Feb 26, 2024
1b3164f
always emit `AliasRelate` goals when relating aliases
lcnr Feb 26, 2024
0e08be5
Rollup merge of #120656 - Zalathar:filecheck-flags, r=wesleywiser
GuillaumeGomez Feb 26, 2024
91d337d
Rollup merge of #120840 - HTGAzureX1212:HTGAzureX1212/unicode-identif…
GuillaumeGomez Feb 26, 2024
5bd9092
Rollup merge of #121554 - Enselic:sigaction, r=oli-obk
GuillaumeGomez Feb 26, 2024
a1593a6
Rollup merge of #121590 - GuillaumeGomez:rustdoc-js-changed, r=notriddle
GuillaumeGomez Feb 26, 2024
76f303d
Rollup merge of #121620 - nnethercote:fix-even-more-121208-fallout, r…
GuillaumeGomez Feb 26, 2024
297abc3
fix some references to no-longer-existing ReprOptions.layout_seed
RalfJung Feb 26, 2024
ee933f6
Auto merge of #121627 - GuillaumeGomez:rollup-udp3m0k, r=GuillaumeGomez
bors Feb 26, 2024
633c92c
Do not const pop unions
gurry Feb 26, 2024
a788be0
use fulfillment in `Coerce::unify'
lcnr Feb 26, 2024
2c7ede8
update tests
lcnr Feb 26, 2024
1c264ca
add regression tests
lcnr Feb 26, 2024
b4ca582
rename 'try' intrinsic to 'catch_unwind'
RalfJung Feb 25, 2024
a3c0f3a
miri: rename miri_start_panic → miri_start_unwind
RalfJung Feb 25, 2024
3b3514a
consider placeholders in `fn term_is_fully_unconstrained`
lcnr Feb 26, 2024
b8de591
Auto merge of #119106 - lcnr:decrement-universes, r=BoxyUwU
bors Feb 26, 2024
0c082b7
remove useless lifetime of ArchiveBuilder
823984418 Feb 26, 2024
b79db43
Auto merge of #120586 - ShE3py:exprkind-err, r=fmease
bors Feb 26, 2024
6700714
Rollup merge of #121389 - klensy:llvm-warn-fix, r=nikic
matthiaskrgr Feb 26, 2024
6e3ece3
Rollup merge of #121493 - surechen:edit_attribute_only_local, r=lcnr
matthiaskrgr Feb 26, 2024
9d5ab73
Rollup merge of #121615 - nnethercote:fix-121517, r=oli-obk
matthiaskrgr Feb 26, 2024
4f167b4
Rollup merge of #121617 - compiler-errors:async-closure-kind-check, r…
matthiaskrgr Feb 26, 2024
218be27
Rollup merge of #121628 - gurry:121534-ice-asymm-binop, r=oli-obk
matthiaskrgr Feb 26, 2024
81eddb3
Rollup merge of #121629 - RalfJung:field-shuffle-seed, r=oli-obk
matthiaskrgr Feb 26, 2024
67bd410
Update books
rustbot Feb 26, 2024
829308e
Auto merge of #121636 - matthiaskrgr:rollup-1tt2o5n, r=matthiaskrgr
bors Feb 26, 2024
580b003
fix race between block initialization and receiver disconnection
ibraheemdev Feb 26, 2024
a1b93e8
Rearrange `Vec::from_raw_parts{,_in}` doc argument order to match cod…
jieyouxu Feb 26, 2024
26bdf29
Rearrange `String::from_raw_parts` doc argument order to match code a…
jieyouxu Feb 26, 2024
dd24a46
Document args returned from `Vec::into_raw_parts{,_with_alloc}`
jieyouxu Feb 26, 2024
bfeea29
Document args returned from `String::into_raw_parts`
jieyouxu Feb 26, 2024
fc3800f
Auto merge of #121646 - ibraheemdev:patch-17, r=ChrisDenton
bors Feb 26, 2024
1658ca0
Properly emit `expected ;` on `#[attr] expr`
ShE3py Feb 26, 2024
5c786a7
Auto merge of #121516 - RalfJung:platform-intrinsics-begone, r=oli-obk
bors Feb 26, 2024
d95c321
Rollup merge of #121598 - RalfJung:catch_unwind, r=oli-obk
matthiaskrgr Feb 26, 2024
e47d814
Rollup merge of #121639 - rustbot:docs-update, r=ehuss
matthiaskrgr Feb 26, 2024
94609db
Rollup merge of #121648 - jieyouxu:from-into-raw-parts-docs, r=Nilstrieb
matthiaskrgr Feb 26, 2024
ec5c5b7
Rollup merge of #121651 - ShE3py:issue-121647, r=estebank
matthiaskrgr Feb 26, 2024
2ea3322
syms for legacy numeric constants diag items
pitaj Feb 27, 2024
71ffdf7
Auto merge of #121655 - matthiaskrgr:rollup-qpx3kks, r=matthiaskrgr
bors Feb 27, 2024
91cae1d
Auto merge of #121635 - 823984418:remove_archive_builder_lifetime_a, …
bors Feb 27, 2024
2fc94ce
Remove an unnecessary `span_delayed_bug` call.
nnethercote Feb 15, 2024
c743e4a
Refactor `LoweringContext::get_delegation_sig_id`.
nnethercote Feb 15, 2024
d0267cb
Remove an unnecessary `span_delayed_bug` in `Resolver::valid_res_from…
nnethercote Feb 16, 2024
b2d1d6f
Avoid `span_delayed_bug` on one path in `AdtDef::eval_explicit_discr`.
nnethercote Feb 16, 2024
9f82563
Avoid a `span_delayed_bug` in `TypeErrCtxt::report_region_errors`.
nnethercote Feb 16, 2024
62b4e55
Avoid a `span_delayed_bug` in `compute_regions`.
nnethercote Feb 18, 2024
a8a486c
Refactor `take_for_recovery` call sites.
nnethercote Feb 18, 2024
1c28a2c
Auto merge of #121667 - pitaj:diag_items-legacy_numeric_constants, r=…
bors Feb 27, 2024
53ed660
Auto merge of #120411 - erikdesjardins:netbsdcall, r=Nilstrieb
bors Feb 27, 2024
9afdb8d
Auto merge of #121285 - nnethercote:delayed_bug-audit, r=lcnr
bors Feb 27, 2024
f115064
Add the wasm32-wasi-preview2 target
rylev Jan 31, 2024
5e9bed7
Rename wasm32-wasi-preview2 to wasm32-wasip2
rylev Feb 21, 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.
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ f97fddab91fbf290ea5b691fe355d6f915220b6e
cc907f80b95c6ec530c5ee1b05b044a468f07eca
# format let-chains
b2d2184edea578109a48ec3d8decbee5948e8f35
# test directives migration
6e48b96692d63a79a14563f27fe5185f122434f8
ec2cc761bc7067712ecc7734502f703fe3b024c8
19 changes: 16 additions & 3 deletions .github/ISSUE_TEMPLATE/diagnostics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,23 @@ body:
render: Rust
validations:
required: false
- type: markdown
- type: textarea
id: version
attributes:
value: |
If you're using the stable version of the compiler, you should also check if the bug also exists in the beta or nightly versions. The output might also be different depending on the Edition.
label: Rust Version
description: Please provide the `rustc` version, `rustc --version --verbose`. Make sure that you're using the latest version of the compiler, and not an outdated stable or nightly release!
placeholder: |
$ rustc --version --verbose
rustc 1.XX.Y (SHORTHASH DATE)
binary: rustc
commit-hash: LONGHASHVALUE
commit-date: DATE
host: PLATFORMTRIPLE
release: 1.XX.Y
LLVM version: XX.YY.ZZ
render: Shell
validations:
required: true
- type: textarea
id: extra
attributes:
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/ice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ body:
id: version
attributes:
label: Rust Version
description: Please provide the `rustc` version, `rustc --version --verbose`
description: Please provide the `rustc` version, `rustc --version --verbose`. Make sure that you're using the latest version of the compiler, and not an outdated stable or nightly release!
placeholder: |
$ rustc --version --verbose
rustc 1.XX.Y (SHORTHASH DATE)
Expand Down
66 changes: 53 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ name: CI
- "**"
permissions:
contents: read
packages: write
defaults:
run:
shell: bash
Expand All @@ -42,6 +43,7 @@ jobs:
CI_JOB_NAME: "${{ matrix.name }}"
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
HEAD_SHA: "${{ github.event.pull_request.head.sha || github.sha }}"
DOCKER_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
SCCACHE_BUCKET: rust-lang-ci-sccache2
TOOLSTATE_REPO: "https://github.com/rust-lang-nursery/rust-toolstate"
CACHE_DOMAIN: ci-caches.rust-lang.org
Expand All @@ -63,9 +65,20 @@ jobs:
- name: x86_64-gnu-tools
os: ubuntu-20.04-16core-64gb
env: {}
defaults:
run:
shell: "${{ contains(matrix.os, 'windows') && 'msys2 {0}' || 'bash' }}"
timeout-minutes: 600
runs-on: "${{ matrix.os }}"
steps:
- if: "contains(matrix.os, 'windows')"
uses: msys2/[email protected]
with:
msystem: "${{ contains(matrix.name, 'i686') && 'mingw32' || 'mingw64' }}"
update: false
release: true
path-type: inherit
install: "make dos2unix diffutils\n"
- name: disable git crlf conversion
run: git config --global core.autocrlf false
- name: checkout the source code
Expand Down Expand Up @@ -172,6 +185,7 @@ jobs:
CI_JOB_NAME: "${{ matrix.name }}"
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
HEAD_SHA: "${{ github.event.pull_request.head.sha || github.sha }}"
DOCKER_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
SCCACHE_BUCKET: rust-lang-ci-sccache2
DEPLOY_BUCKET: rust-lang-ci2
TOOLSTATE_REPO: "https://github.com/rust-lang-nursery/rust-toolstate"
Expand Down Expand Up @@ -289,8 +303,9 @@ jobs:
os: ubuntu-20.04-4core-16gb
env: {}
- name: x86_64-gnu-integration
os: ubuntu-20.04-16core-64gb
env: {}
env:
CI_ONLY_WHEN_CHANNEL: nightly
os: ubuntu-20.04-8core-32gb
- name: x86_64-gnu-debug
os: ubuntu-20.04-8core-32gb
env: {}
Expand All @@ -315,10 +330,10 @@ jobs:
- name: dist-x86_64-apple
env:
SCRIPT: "./x.py dist bootstrap --include-default-paths --host=x86_64-apple-darwin --target=x86_64-apple-darwin"
RUST_CONFIGURE_ARGS: "--enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false --set rust.lto=thin"
RUST_CONFIGURE_ARGS: "--enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set rust.lto=thin"
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
MACOSX_DEPLOYMENT_TARGET: 10.12
SELECT_XCODE: /Applications/Xcode_13.4.1.app
SELECT_XCODE: /Applications/Xcode_14.3.1.app
NO_LLVM_ASSERTIONS: 1
NO_DEBUG_ASSERTIONS: 1
NO_OVERFLOW_CHECKS: 1
Expand All @@ -328,32 +343,34 @@ jobs:
- name: dist-apple-various
env:
SCRIPT: "./x.py dist bootstrap --include-default-paths --host='' --target=aarch64-apple-ios,x86_64-apple-ios,aarch64-apple-ios-sim"
RUST_CONFIGURE_ARGS: "--enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false"
RUST_CONFIGURE_ARGS: "--enable-sanitizers --enable-profiler --set rust.jemalloc"
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
MACOSX_DEPLOYMENT_TARGET: 10.12
SELECT_XCODE: /Applications/Xcode_13.4.1.app
SELECT_XCODE: /Applications/Xcode_14.3.1.app
NO_LLVM_ASSERTIONS: 1
NO_DEBUG_ASSERTIONS: 1
NO_OVERFLOW_CHECKS: 1
os: macos-13
- name: x86_64-apple-1
env:
SCRIPT: "./x.py --stage 2 test --skip tests/ui --skip tests/rustdoc --skip tests/run-make-fulldeps"
RUST_CONFIGURE_ARGS: "--build=x86_64-apple-darwin --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false"
RUST_CONFIGURE_ARGS: "--build=x86_64-apple-darwin --enable-sanitizers --enable-profiler --set rust.jemalloc"
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
MACOSX_DEPLOYMENT_TARGET: 10.12
MACOSX_STD_DEPLOYMENT_TARGET: 10.12
SELECT_XCODE: /Applications/Xcode_14.3.1.app
NO_LLVM_ASSERTIONS: 1
NO_DEBUG_ASSERTIONS: 1
NO_OVERFLOW_CHECKS: 1
os: macos-13
- name: x86_64-apple-2
env:
SCRIPT: "./x.py --stage 2 test tests/ui tests/rustdoc tests/run-make-fulldeps"
RUST_CONFIGURE_ARGS: "--build=x86_64-apple-darwin --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false"
RUST_CONFIGURE_ARGS: "--build=x86_64-apple-darwin --enable-sanitizers --enable-profiler --set rust.jemalloc"
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
MACOSX_DEPLOYMENT_TARGET: 10.12
MACOSX_STD_DEPLOYMENT_TARGET: 10.12
SELECT_XCODE: /Applications/Xcode_14.3.1.app
NO_LLVM_ASSERTIONS: 1
NO_DEBUG_ASSERTIONS: 1
NO_OVERFLOW_CHECKS: 1
Expand All @@ -363,28 +380,28 @@ jobs:
SCRIPT: "./x.py dist bootstrap --include-default-paths --host=aarch64-apple-darwin --target=aarch64-apple-darwin"
RUST_CONFIGURE_ARGS: "--enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false --set rust.lto=thin"
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
SELECT_XCODE: /Applications/Xcode_13.4.1.app
SELECT_XCODE: /Applications/Xcode_14.3.1.app
USE_XCODE_CLANG: 1
MACOSX_DEPLOYMENT_TARGET: 11.0
MACOSX_STD_DEPLOYMENT_TARGET: 11.0
NO_LLVM_ASSERTIONS: 1
NO_DEBUG_ASSERTIONS: 1
NO_OVERFLOW_CHECKS: 1
DIST_REQUIRE_ALL_TOOLS: 1
os: macos-13-xlarge
os: macos-14
- name: aarch64-apple
env:
SCRIPT: "./x.py --stage 2 test --host=aarch64-apple-darwin --target=aarch64-apple-darwin"
RUST_CONFIGURE_ARGS: "--enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false"
RUST_CONFIGURE_ARGS: "--enable-sanitizers --enable-profiler --set rust.jemalloc"
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
SELECT_XCODE: /Applications/Xcode_13.4.1.app
SELECT_XCODE: /Applications/Xcode_14.3.1.app
USE_XCODE_CLANG: 1
MACOSX_DEPLOYMENT_TARGET: 11.0
MACOSX_STD_DEPLOYMENT_TARGET: 11.0
NO_LLVM_ASSERTIONS: 1
NO_DEBUG_ASSERTIONS: 1
NO_OVERFLOW_CHECKS: 1
os: macos-13-xlarge
os: macos-14
- name: x86_64-msvc
env:
RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --enable-profiler"
Expand Down Expand Up @@ -455,9 +472,20 @@ jobs:
RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --enable-extended --enable-profiler"
SCRIPT: python x.py dist bootstrap --include-default-paths
os: windows-2019-8core-32gb
defaults:
run:
shell: "${{ contains(matrix.os, 'windows') && 'msys2 {0}' || 'bash' }}"
timeout-minutes: 600
runs-on: "${{ matrix.os }}"
steps:
- if: "contains(matrix.os, 'windows')"
uses: msys2/[email protected]
with:
msystem: "${{ contains(matrix.name, 'i686') && 'mingw32' || 'mingw64' }}"
update: false
release: true
path-type: inherit
install: "make dos2unix diffutils\n"
- name: disable git crlf conversion
run: git config --global core.autocrlf false
- name: checkout the source code
Expand Down Expand Up @@ -565,6 +593,7 @@ jobs:
CI_JOB_NAME: "${{ matrix.name }}"
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
HEAD_SHA: "${{ github.event.pull_request.head.sha || github.sha }}"
DOCKER_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
SCCACHE_BUCKET: rust-lang-ci-sccache2
DEPLOY_BUCKET: rust-lang-ci2
TOOLSTATE_REPO: "https://github.com/rust-lang-nursery/rust-toolstate"
Expand All @@ -582,9 +611,20 @@ jobs:
env:
CODEGEN_BACKENDS: "llvm,cranelift"
os: ubuntu-20.04-16core-64gb
defaults:
run:
shell: "${{ contains(matrix.os, 'windows') && 'msys2 {0}' || 'bash' }}"
timeout-minutes: 600
runs-on: "${{ matrix.os }}"
steps:
- if: "contains(matrix.os, 'windows')"
uses: msys2/[email protected]
with:
msystem: "${{ contains(matrix.name, 'i686') && 'mingw32' || 'mingw64' }}"
update: false
release: true
path-type: inherit
install: "make dos2unix diffutils\n"
- name: disable git crlf conversion
run: git config --global core.autocrlf false
- name: checkout the source code
Expand Down
2 changes: 1 addition & 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/17.0-2023-12-14
branch = rustc/18.0-2024-02-13
shallow = true
[submodule "src/doc/embedded-book"]
path = src/doc/embedded-book
Expand Down
2 changes: 1 addition & 1 deletion .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ Clement Miao <[email protected]>
Clément Renault <[email protected]>
Cliff Dyer <[email protected]>
Clinton Ryan <[email protected]>
Corey Richardson <[email protected]> Elaine "See More" Nemo <[email protected]>
ember arlynx <[email protected]> <[email protected]>
Crazycolorz5 <[email protected]>
csmoe <[email protected]>
Cyryl Płotnicki <[email protected]>
Expand Down
3 changes: 2 additions & 1 deletion .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Files: compiler/*
configure
CONTRIBUTING.md
COPYRIGHT
INSTALL.md
LICENSE-APACHE
LICENSE-MIT
README.md
Expand Down Expand Up @@ -51,7 +52,7 @@ Copyright: 2019 The Crossbeam Project Developers
The Rust Project Developers (see https://thanks.rust-lang.org)
License: MIT OR Apache-2.0

Files: library/std/src/sys/unix/locks/fuchsia_mutex.rs
Files: library/std/src/sys/locks/mutex/fuchsia.rs
Copyright: 2016 The Fuchsia Authors
The Rust Project Developers (see https://thanks.rust-lang.org)
License: BSD-2-Clause AND (MIT OR Apache-2.0)
Expand Down
Loading
Loading