about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2025-06-30build-fail directive: make explanation more uniformTshepang Mbambo-3/+3
The last part of the paragraph did not fit
2025-06-29Remove last use of `rustc_pat_analysis::Captures`zachs18-5/+5
It's not necessary anymore due to Rust 2024 lifetime capture rules.
2025-06-29Merge pull request #4397 from tgross35/gettid-shimsRalf Jung-12/+312
Add shims for `gettid`-esque functions
2025-06-29Add shims for `gettid`-esque functionsTrevor Gross-12/+312
Various platforms provide a function to return the current OS thread ID, but they all use a slightly different name. Add shims for these functions for Apple, FreeBSD, and Windows, with tests to account for those and a few more platforms that are not yet supported by Miri. The syscall and extern symbol is included as well on Linux. These should be useful in general but will also help support printing the OS thread ID in panic messages [1]. [1]: https://github.com/rust-lang/rust/pull/115746 Squashed commit from Ralf: try_from_scalar: extend comment
2025-06-29add a riscv64 test jobRalf Jung-0/+5
2025-06-29remove duplicate clippy checkRalf Jung-4/+2
2025-06-29also test on s390x via qemuRalf Jung-0/+15
2025-06-29test on x86-32 and arm-32Ralf Jung-25/+41
2025-06-29fix type mismatches in native-lib/scalar_arguments testRalf Jung-2/+2
2025-06-29add float_nan test for powfRalf Jung-28/+54
plus various minor tweaks
2025-06-29make some powf and powi cases involving SNaN non-deterministicLorrensP-2158466-38/+77
2025-06-29Merge from rustcRalf Jung-72/+154
2025-06-29Preparing for merge from rustcRalf Jung-1/+1
2025-06-29Auto merge of #143137 - RalfJung:miri-sync, r=RalfJungbors-317/+1781
Miri subtree update r? `@ghost`
2025-06-29Port #[link_section] to the new attribute parsing infrastructureAnne Stijns-1/+4
2025-06-29Lazy-ify some markdown renderingYotam Ofek-86/+83
2025-06-29Don't try to guess how much to pre-allocateYotam Ofek-2/+2
Removing this heuristic doesn't show up as a regression in perf run
2025-06-29Merge pull request #4424 from RalfJung/aarch64-linux-ciRalf Jung-21/+45
also test on arm-64 linux hosts
2025-06-29also test on arm-64 linux hostsRalf Jung-21/+45
2025-06-29Remove unnecessary parens in closureyukang-1/+1
2025-06-29cleaned up some testsKivooeo-1/+0
2025-06-29Rollup merge of #142078 - sayantn:more-intrinsics, r=workingjubileeGuillaume Gomez-0/+10
Add SIMD funnel shift and round-to-even intrinsics This PR adds 3 new SIMD intrinsics - `simd_funnel_shl` - funnel shift left - `simd_funnel_shr` - funnel shift right - `simd_round_ties_even` (vector version of `round_ties_even_fN`) TODO (future PR): implement `simd_fsh{l,r}` in miri, cg_gcc and cg_clif (it is surprisingly hard to implement without branches, the common tricks that rotate uses doesn't work because we have 2 elements now. e.g, the `-n&31` trick used by cg_gcc to implement rotate doesn't work with this because then `fshl(a, b, 0)` will be `a | b`) [#t-compiler > More SIMD intrinsics](https://rust-lang.zulipchat.com/#narrow/channel/131828-t-compiler/topic/More.20SIMD.20intrinsics/with/522130286) `@rustbot` label T-compiler T-libs A-intrinsics F-core_intrinsics r? `@workingjubilee`
2025-06-29make ./miri work on stable againRalf Jung-23/+29
2025-06-29Use `tracing-forest` instead of `tracing-tree` for bootstrap tracingJieyou Xu-28/+49
I find the `tracing-forest` output easier to comprehend.
2025-06-29Update README.mdkilavvy-3/+3
- Update ui.md - Update type-alias-impl-trait.md - Update README.md
2025-06-29Update the-doc-attribute.md (#1)Eeshvar Das-1/+1
2025-06-29Disable rust-lld in post-dist testsJakub Beránek-0/+2
2025-06-29Make combining LLD with external LLVM config a hard errorJakub Beránek-4/+2
2025-06-29Merge pull request #20121 from Veykril/push-vkkuutpsuypqLukas Wirth-48/+49
Do not append `--compile-time-deps` to overwritten build script commands
2025-06-29Do not append `--compile-time-deps` to overwritten build script commandsLukas Wirth-48/+49
2025-06-29disable ptrace codepath since it doesn't build on many targetsRalf Jung-59/+29
2025-06-29Merge from rustcThe Miri Cronjob Bot-8/+37
2025-06-29fix miri build in bootstrapRalf Jung-0/+1
2025-06-29Rollup merge of #143155 - yotamofek:pr/rustdoc/housekeeping, r=GuillaumeGomezMatthias Krüger-12/+8
`librustdoc` house-keeping 🧹 This PR mostly removes a bunch of crate-level attributes that were added at some point, but then later on became unnecessary: - some `#[feature]` gates - some `#[allow]`s - a `#[recursion_limit]` Then I went ahead and sprinkled some tidy sorting on the remaining attrs, and `Cargo.toml`. Trying to give my anal retentiveness some peace of mind 😅
2025-06-29Rollup merge of #142021 - HamidrezaSK:fix-lint-precedence-doc, r=ehussMatthias Krüger-1/+102
Doc: clarify priority of lint level sources This updates the rustc book to clearly document how conflicting lint configurations are resolved across different sources, including command-line flags, crate-level attributes, in-line attributes, and `--cap-lints`. It also explains the special behavior of `forbid` and `force_warn`. Fixes rust-lang/rust#124088
2025-06-29Preparing for merge from rustcThe Miri Cronjob Bot-1/+1
2025-06-29Add broken `./x test library/std` advisoryJieyou Xu-0/+18
2025-06-29Auto merge of #143160 - ehuss:update-cargo, r=ehussbors-0/+0
Update cargo 7 commits in 409fed7dc1553d49cb9a8c0637d12d65571346ce..930b4f62cfcd1f0eabdb30a56d91bf6844b739bf 2025-06-23 15:55:04 +0000 to 2025-06-28 14:58:43 +0000 - Use a different lint for the `fix_only_once_for_duplicates` test (rust-lang/cargo#15713) - chore: bump to 0.91.0; update changelog (rust-lang/cargo#15710) - Add `http.proxy-cainfo` config for proxy certs (rust-lang/cargo#15374) - chore(deps): update msrv (3 versions) to v1.86 (rust-lang/cargo#15709) - chore(deps): update msrv (1 version) to v1.88 (rust-lang/cargo#15706) - Rework `cargo-test-support` & `testsuite` to use `CARGO_BIN_EXE_*` for Cargo (rust-lang/cargo#15692) - fix: Expand error messages around path dependency on `cargo package` and `cargo publish` (rust-lang/cargo#15705)
2025-06-29rename Pointer::from_addr_invalid to match strict provenance APIRalf Jung-1/+1
2025-06-29give Pointer::into_parts a more scary name and offer a safer alternativeRalf Jung-8/+6
2025-06-28Merge pull request #4415 from YohDeadfall/sync-ra-configsRalf Jung-7/+5
Synced rust-analyzer configs
2025-06-28Update cargoEric Huss-0/+0
2025-06-28Synced rust-analyzer configsYoh Deadfall-7/+5
2025-06-28Rollup merge of #143114 - leopardracer:master, r=RalfJungMatthias Krüger-3/+3
Minor Documentation Improvements --- ## Description - Fixed typos and improved clarity in comments and documentation. ---
2025-06-28Rollup merge of #143031 - mati865:push-mutywntmvomx, r=Mark-SimulacrumMatthias Krüger-1/+3
Add windows-gnullvm hosts to the manifest I made a mistake testing https://github.com/rust-lang/rust/pull/140772 only with `rustup-toolchain-install-master` which doesn't care about the manifests. This means windows-gnullvm self-hosting will have to wait one more release, unless this change is backported to beta and a new beta release is made, which doesn't seem worth the trouble.
2025-06-28Rollup merge of #142987 - lolbinarycat:rustdoc-non_exhaustive-enum-v-142599, ↵Matthias Krüger-0/+1
r=GuillaumeGomez rustdoc: show attributes on enum variants mostly for #[non_exhaustive] unsure if there's any attributes we should take care to *not* include, it could use `render_code_attribute` and `is_non_exhaustive` instead, if that is a concern. fixes rust-lang/rust#142599
2025-06-28Rollup merge of #142963 - Kobzol:try-build-skip, r=jieyouxuMatthias Krüger-3/+29
Skip unnecessary components in x64 try builds We unnecessarily rebuild `wasm-component-ld`, `llvm-bitcode-linker` and Cranelift during the intermediate PGO builds several times times, which is unnecessarily and increases the duration of try builds. This PR also disables some unnecessary dist components. r? `````@jieyouxu`````
2025-06-28librustdoc: use tidy for sorting attrs and depsYotam Ofek-4/+8
2025-06-28librustdoc: remove unused feature gatesYotam Ofek-4/+0
2025-06-28librustdoc: remove unneeded `#[recursion_limit]`Yotam Ofek-1/+0