Ralf Jung
969a25b6ce
Preparing for merge from rustc
2025-05-20 08:02:40 +02:00
Ralf Jung
26e917202c
Merge pull request #4334 from RalfJung/GetUserProfileDirectoryW-issue
...
GetUserProfileDirectoryW: reference issue regarding implementation details we rely on
2025-05-19 15:38:09 +00:00
Ralf Jung
758b7994e8
GetUserProfileDirectoryW: reference issue regarding implementation details we rely on
2025-05-19 17:08:06 +02:00
Ralf Jung
aa4d16a1a7
run tests on mips-unknown-linux-gnu
2025-05-19 15:35:19 +02:00
Ralf Jung
446fa22412
add to_u64() helper method and use it where appropriate
2025-05-19 10:08:48 +02:00
Ralf Jung
0ba2a3a818
enable clippy::as_conversions to fully rule out as-casts
2025-05-19 10:08:46 +02:00
The Miri Cronjob Bot
1bb2d7352a
Merge from rustc
2025-05-19 05:02:00 +00:00
The Miri Cronjob Bot
b2a8690aa1
Preparing for merge from rustc
2025-05-19 04:54:41 +00:00
bors
e42bbfe1f7
Auto merge of #140154 - Berrysoft:cygwin-host, r=jieyouxu
...
Cygwin support in rustc
This PR builds host rustc targeting cygwin.
- [x] https://github.com/rust-lang/stacker/pull/122
- [x] https://github.com/nagisa/rust_libloading/pull/173
- [x] https://github.com/Detegr/rust-ctrlc/pull/131
- [x] https://github.com/rust-random/getrandom/pull/654
- [x] https://github.com/msys2/MSYS2-packages/issues/5350
- [x] https://github.com/rust-lang/rust/pull/140886
- [x] https://github.com/rust-lang/rust/pull/140921
- [x] https://github.com/rust-lang/rust/pull/140973
Currently supported:
* rustc
* rustdoc
* rustfmt
* clippy
Blocking:
* cargo: blocked by https://github.com/rust-lang/socket2/pull/568
* rust-analyzer: needs `cargo update`, fixed upstream
```
$ rustc --version --verbose
rustc 1.88.0-dev
binary: rustc
commit-hash: unknown
commit-date: unknown
host: x86_64-pc-cygwin
release: 1.88.0-dev
LLVM version: 20.1.4
```
2025-05-18 23:53:04 +00:00
León Orell Valerian Liehr
cf3b1b1d92
Rollup merge of #141214 - RalfJung:miri-sync, r=RalfJung
...
Miri subtree update
r? ``@ghost``
Fixes https://github.com/rust-lang/miri/issues/4328
2025-05-18 18:44:13 +02:00
León Orell Valerian Liehr
20bd5977ed
Rollup merge of #141127 - klensy:windows-bump-61, r=albertlarsan68,jieyouxu
...
bump windows crate for compiler,bootstrap and tools
This dedupes crate versions. For `x86_64-pc-windows-msvc` stage1 cuts few kb from `rustc_driver.dll`, nice.
2025-05-18 18:44:13 +02:00
León Orell Valerian Liehr
2f0c6e217f
Rollup merge of #140490 - folkertdev:asm-parser-changes, r=Amanieu,traviscross
...
split `asm!` parsing and validation
This PR splits `asm!` parsing and validation into two separate steps.
The parser constructs a `Vec<RawAsmArg>`, with each element corresponding to an argument to one of the `asm!` macros.
The validation then checks things like ordering of arguments or that options are not provided twice.
The motivation is https://github.com/rust-lang/rust/issues/140279 , which wants to add `#[cfg(...)]` support to these arguments. This support can now be added in a straightforward way by adding an `attributes: ast::AttrVec` field to `RawAsmArg`.
An extra reason for this split is that `rustfmt` probably wants to format the assembly at some point (currently that appears to be stubbed out, and the formatting is unstable https://github.com/rust-lang/style-team/issues/152 ).
r? ``@ghost`` (just want to look at CI for now)
cc ``@ytmimi`` we discussed asm formatting a little while ago in https://github.com/rust-lang/rustfmt/issues/6526 . Am I correct in assuming that `AsmArgs` does not give enough information for formatting, but that `RawAsmArgs` would (it e.g. does not join information from multiple lines). This must have been an issue before?
try-job: aarch64-apple
2025-05-18 18:44:10 +02:00
Ralf Jung
a4eb91fa63
Merge pull request #4330 from RalfJung/build-sysroot-bump
...
bump rustc-build-sysroot
2025-05-18 16:16:23 +00:00
Ralf Jung
eb11adc7b0
bump rustc-build-sysroot
2025-05-18 17:51:15 +02:00
Ralf Jung
3c50b9be19
Merge pull request #4322 from tiif/move_test
...
Add more comments to libc-fs-with-isolation test
2025-05-18 12:07:38 +00:00
tiif
f9a75a00b4
Add more comment to libc-fs-with-isolation test
2025-05-18 13:42:07 +02:00
Folkert de Vries
85053d1cd1
rename to get rid of the 'raw' concept
2025-05-18 11:28:31 +02:00
Folkert de Vries
7ec06fc3b1
attempt to have rustfmt use the new logic
...
apparently it doesn't really use the asm parsing at present, so this may work?
2025-05-18 11:28:31 +02:00
Ralf Jung
48093fd695
attempt to make doctests work properly with old and new cargo
2025-05-18 08:10:09 +02:00
sayantn
2898680ebd
Remove uses of #[feature(avx512_target_feature)]
2025-05-18 11:12:25 +05:30
The Miri Cronjob Bot
84506c64ff
fmt
2025-05-18 05:02:46 +00:00
The Miri Cronjob Bot
789d1a4fc3
Merge from rustc
2025-05-18 05:01:38 +00:00
The Miri Cronjob Bot
4320e6f474
Preparing for merge from rustc
2025-05-18 04:54:45 +00:00
bors
bf5a38d118
Auto merge of #141133 - matthiaskrgr:rollup-u8ndxyz, r=matthiaskrgr
...
Rollup of 9 pull requests
Successful merges:
- #135808 (Implement Display for ``rustc_target::callconv::Conv``)
- #137432 (Add as_ascii_unchecked() methods to char, u8, and str)
- #139103 (deduplicate abort implementations)
- #140917 (checktools.sh: fix bashism)
- #141035 (turn lld warning on old gccs into info log)
- #141118 (Enable rust-analyzer to go from query definition to the corresponding provider field)
- #141121 (Only select true errors in `impossible_predicates`)
- #141125 (check coroutines with `TypingMode::Borrowck` to avoid cyclic reasoning)
- #141131 (Make some `match`es slightly more ergonomic in `librustdoc`)
r? `@ghost`
`@rustbot` modify labels: rollup
2025-05-17 16:28:16 +00:00
Matthias Krüger
b9839ab329
Rollup merge of #139103 - joboet:abort_dedup, r=tgross35
...
deduplicate abort implementations
Currently, the code for process aborts is duplicated across `panic_abort` and `std`. This PR uses `#[rustc_std_internal_symbol]` to make the `std` implementation available to `panic_abort` via the linker, thereby deduplicating the code.
2025-05-17 15:45:20 +02:00
Matthias Krüger
836db3ccae
Rollup merge of #135808 - tiif:conv_display, r=workingjubilee
...
Implement Display for ``rustc_target::callconv::Conv``
Follow up of https://github.com/rust-lang/rust/pull/133103#discussion_r1885552854
2025-05-17 15:45:19 +02:00
klensy
9cacafdd1a
compiler & tools: bump windows crate to dedupe versions
2025-05-17 15:26:38 +03:00
Ralf Jung
bd9f1fd273
exlicitly pass -Zdoctest-xcompile to avoid cargo version behavior differences
2025-05-17 14:22:44 +02:00
Ralf Jung
ace4c6e015
fix for doctest-xcompile stabilization
2025-05-17 11:00:40 +02:00
Ralf Jung
b99daba38e
fix clippy lints
2025-05-17 10:07:30 +02:00
Ralf Jung
8f2da9b487
Merge from rustc
2025-05-17 09:53:02 +02:00
Ralf Jung
3a9ee90ded
Preparing for merge from rustc
2025-05-17 09:52:27 +02:00
bors
16d2276fa6
Auto merge of #140911 - rust-lang:cargo_update, r=clubby789
...
Weekly `cargo update`
Automation to keep dependencies in `Cargo.lock` current.
The following is the output from `cargo update`:
```txt
compiler & tools dependencies:
Locking 40 packages to latest compatible versions
Updating clap v4.5.37 -> v4.5.38
Updating clap_builder v4.5.37 -> v4.5.38
Updating ctrlc v3.4.6 -> v3.4.7
Updating derive_setters v0.1.6 -> v0.1.7
Updating getrandom v0.3.2 -> v0.3.3
Updating icu_collections v1.5.0 -> v2.0.0
Adding icu_locale_core v2.0.0
Updating icu_normalizer v1.5.0 -> v2.0.0
Updating icu_normalizer_data v1.5.1 -> v2.0.0
Updating icu_properties v1.5.1 -> v2.0.0
Updating icu_properties_data v1.5.1 -> v2.0.0
Adding icu_provider v2.0.0
Updating idna_adapter v1.2.0 -> v1.2.1
Updating jiff v0.2.12 -> v0.2.13
Updating jiff-static v0.2.12 -> v0.2.13
Updating libffi v4.0.0 -> v4.1.0
Updating libffi-sys v3.2.0 -> v3.3.1
Updating libloading v0.8.6 -> v0.8.7
Updating libm v0.2.13 -> v0.2.15
Adding litemap v0.8.0
Updating nix v0.29.0 -> v0.30.1
Adding potential_utf v0.1.2
Updating rustc-build-sysroot v0.5.4 -> v0.5.5
Adding tinystr v0.8.1
Updating tokio v1.44.2 -> v1.45.0
Updating unic-langid v0.9.5 -> v0.9.6
Updating unic-langid-impl v0.9.5 -> v0.9.6
Updating unic-langid-macros v0.9.5 -> v0.9.6
Updating unic-langid-macros-impl v0.9.5 -> v0.9.6
Removing utf16_iter v1.0.5
Adding wasm-encoder v0.230.0
Adding wasmparser v0.230.0
Updating wast v229.0.0 -> v230.0.0
Updating wat v1.229.0 -> v1.230.0
Updating winnow v0.7.9 -> v0.7.10
Removing write16 v1.0.0
Adding writeable v0.6.1
Adding yoke v0.8.0
Adding yoke-derive v0.8.0
Adding zerotrie v0.2.2
Adding zerovec v0.11.2
Adding zerovec-derive v0.11.1
note: pass `--verbose` to see 36 unchanged dependencies behind latest
library dependencies:
Locking 0 packages to latest compatible versions
note: pass `--verbose` to see 3 unchanged dependencies behind latest
rustbook dependencies:
Locking 26 packages to latest compatible versions
Updating cc v1.2.21 -> v1.2.22
Updating clap v4.5.37 -> v4.5.38
Updating clap_builder v4.5.37 -> v4.5.38
Updating clap_complete v4.5.48 -> v4.5.50
Updating getrandom v0.3.2 -> v0.3.3
Updating icu_collections v1.5.0 -> v2.0.0
Adding icu_locale_core v2.0.0
Removing icu_locid v1.5.0
Removing icu_locid_transform v1.5.0
Removing icu_locid_transform_data v1.5.1
Updating icu_normalizer v1.5.0 -> v2.0.0
Updating icu_normalizer_data v1.5.1 -> v2.0.0
Updating icu_properties v1.5.1 -> v2.0.0
Updating icu_properties_data v1.5.1 -> v2.0.0
Updating icu_provider v1.5.0 -> v2.0.0
Removing icu_provider_macros v1.5.0
Updating idna_adapter v1.2.0 -> v1.2.1
Updating jiff v0.2.12 -> v0.2.13
Updating jiff-static v0.2.12 -> v0.2.13
Updating litemap v0.7.5 -> v0.8.0
Adding potential_utf v0.1.2
Updating tinystr v0.7.6 -> v0.8.1
Removing utf16_iter v1.0.5
Updating web_atoms v0.1.1 -> v0.1.2
Updating winnow v0.7.9 -> v0.7.10
Removing write16 v1.0.0
Updating writeable v0.5.5 -> v0.6.1
Updating yoke v0.7.5 -> v0.8.0
Updating yoke-derive v0.7.5 -> v0.8.0
Adding zerotrie v0.2.2
Updating zerovec v0.10.4 -> v0.11.2
Updating zerovec-derive v0.10.3 -> v0.11.1
```
2025-05-16 19:34:19 +00:00
bors
36ad75bceb
Auto merge of #141093 - weihanglo:update-cargo, r=weihanglo
...
Update cargo
5 commits in 056f5f4f3c100cb36b5e9aed2d20b9ea70aae295..47c911e9e6f6461f90ce19142031fe16876a3b95
2025-05-09 14:54:18 +0000 to 2025-05-14 17:53:17 +0000
- Stabilize doctest-xcompile (rust-lang/cargo#15462 )
- feat: skip `publish=false` pkg when publishing entire workspace (rust-lang/cargo#15525 )
- chore: bump to 0.90.0; update changelog (rust-lang/cargo#15520 )
- chore(triagebot): add `[no-mentions]` and `[note]` (rust-lang/cargo#15517 )
- add glob pattern support for known_hosts (rust-lang/cargo#15508 )
r? ghost
2025-05-16 16:20:00 +00:00
Weihang Lo
8604d458eb
Update cargo
2025-05-16 11:35:06 -04:00
王宇逸
12c8fb857c
Fix fname for miri
2025-05-16 17:47:29 +08:00
bors
1b9efcd18f
Auto merge of #141044 - flip1995:clippy-subtree-update, r=Manishearth
...
Clippy subtree update
r? `@Manishearth`
Cargo.lock update due to Clippy version bump.
2025-05-16 08:54:55 +00:00
Matthias Krüger
e4929b530e
Rollup merge of #140834 - lcnr:apit-folder, r=compiler-errors
...
move (or remove) some impl Trait tests
Probably not actually worth the effort, so I am stopping here 😅
2025-05-16 07:19:38 +02:00
Philipp Krones
825a62af51
Merge commit ' 0450db33a5' into clippy-subtree-update
2025-05-15 19:28:39 +02:00
joboet
f77c160007
normalize abort calls in miri tests
2025-05-15 11:37:50 +02:00
Matthias Krüger
8e34100014
Rollup merge of #140953 - jieyouxu:compiletest-bless-msg, r=compiler-errors
...
Fix a compiletest blessing message
It was showing compare mode instead of test name.
Fixes #140945 .
Noticed in https://github.com/rust-lang/rust/pull/140622#issuecomment-2868705612 .
2025-05-14 18:43:38 +02:00
bors
4eca99a18e
Auto merge of #140887 - pietroalbini:pa-bootstrap-update, r=compiler-errors
...
Stage0 bootstrap update
This PR [follows the release process](https://forge.rust-lang.org/release/process.html#master-bootstrap-update-tuesday ) to update the stage0 compiler.
The only thing of note is 58651d1b31 , which was flagged by clippy as a correctness fix. I think allowing that lint in our case makes sense, but it's worth to have a second pair of eyes on it.
r? `@Mark-Simulacrum`
2025-05-13 09:54:28 +00:00
bors
f6b5da71ea
Auto merge of #140951 - compiler-errors:super-fmt, r=ytmimi
...
Do not remove `super` keyword from `super let`
This is affecting a macro in the standard library:
bc7512ee63/library/core/src/pin.rs (L1945)
I added an exception in 6f6a9a585891d0a2d1114a7a621f35f28f39c0d9, but I'd like to remove it eventually, so opening this in-tree to not block this on the next rustfmt sync.
r? `@calebcartwright` or `@ytmimi`
2025-05-13 06:43:56 +00:00
bors
3ae0b2e2ed
Auto merge of #140927 - mejrs:test5, r=jieyouxu
...
chore: move more ui tests
r? `@jieyouxu`
2025-05-13 00:03:33 +00:00
Jieyou Xu
82fbbc0882
compiletest: fix "blessing" message
...
It was showing compare mode instead of test name.
2025-05-12 16:46:52 +00:00
Michael Goulet
26316b86bc
Do not remove super keyword from super-let
2025-05-12 15:30:48 +00:00
mejrs
60c32f61ae
Move more tests/ui tests
2025-05-12 16:35:09 +02:00
Pietro Albini
2ce08ca5d6
update cfg(bootstrap)
2025-05-12 15:33:37 +02:00
The Miri Cronjob Bot
7479482e21
Merge from rustc
2025-05-12 05:01:00 +00:00
The Miri Cronjob Bot
30eca8ba91
Preparing for merge from rustc
2025-05-12 04:53:41 +00:00