about summary refs log tree commit diff
path: root/src/tools
AgeCommit message (Collapse)AuthorLines
2025-02-25Auto merge of #137571 - tgross35:rollup-i1tcnv1, r=tgross35bors-1/+0
Rollup of 8 pull requests Successful merges: - #134655 (Stabilize `hash_extract_if`) - #135933 (Explain how Vec::with_capacity is faithful) - #136668 (Stabilize `core::str::from_utf8_mut` as `const`) - #136775 (Update `String::from_raw_parts` safety requirements) - #137109 (stabilize extract_if) - #137349 (Implement `read_buf` for zkVM stdin) - #137493 (configure.py: don't instruct user to run nonexistent program) - #137516 (remove some unnecessary rustc_const_unstable) r? `@ghost` `@rustbot` modify labels: rollup
2025-02-25Disable typos checker for the target feature namesChayim Refael Friedman-0/+4
2025-02-25Support target features implications in target_feature 1.1Chayim Refael Friedman-36/+268
We vendor the list of implications, which isn't nice, but t-compiler doesn't want to make rustc_target available to us.
2025-02-25Auto merge of #137573 - compiler-errors:rollup-noq9yhp, r=compiler-errorsbors-6/+5
Rollup of 11 pull requests Successful merges: - #136522 (Remove `feature(dyn_compatible_for_dispatch)` from the compiler) - #137289 (Consolidate and improve error messaging for `CoerceUnsized` and `DispatchFromDyn`) - #137321 (Correct doc about `temp_dir()` behavior on Android) - #137417 (rustc_target: Add more RISC-V atomic-related features) - #137489 (remove `#[rustc_intrinsic_must_be_overridde]`) - #137530 (DWARF mixed versions with LTO on MIPS) - #137543 (std: Fix another new symlink test on Windows) - #137548 (Pass correct `TypingEnv` to `InlineAsmCtxt`) - #137550 (Don't immediately panic if dropck fails without returning errors) - #137552 (Update books) - #137556 (rename simd_shuffle_generic → simd_shuffle_const_generic) r? `@ghost` `@rustbot` modify labels: rollup
2025-02-25doc: remove nit from setup.mdbit-aloo-4/+10
2025-02-24Rollup merge of #137556 - RalfJung:simd_shuffle_const_generic, r=oli-obkMichael Goulet-5/+5
rename simd_shuffle_generic → simd_shuffle_const_generic I've been confused by this name one time too often. ;) r? `@oli-obk`
2025-02-24Rollup merge of #137109 - bend-n:knife, r=oli-obkTrevor Gross-1/+0
stabilize extract_if Tracking issue: #43244 Closes: #43244 FCP completed: https://github.com/rust-lang/rust/issues/43244#issuecomment-2523595704
2025-02-24Auto merge of #135726 - jdonszelmann:attr-parsing, r=oli-obkbors-155/+156
New attribute parsing infrastructure Another step in the plan outlined in https://github.com/rust-lang/rust/issues/131229 introduces infrastructure for structured parsers for attributes, as well as converting a couple of complex attributes to have such structured parsers. This PR may prove too large to review. I left some of my own comments to guide it a little. Some general notes: - The first commit is basically standalone. It just preps some mostly unrelated sources for the rest of the PR to work. It might not have enormous merit on its own, but not negative merit either. Could be merged alone, but also doesn't make the review a whole lot easier. (but it's only +274 -209) - The second commit is the one that introduces new infrastructure. It's the important one to review. - The 3rd commit uses the new infrastructure showing how some of the more complex attributes can be parsed using it. Theoretically can be split up, though the parsers in this commit are the ones that really test the new infrastructure and show that it all works. - The 4th commit fixes up rustdoc and clippy. In the previous 2 they didn't compile yet while the compiler does. Separated them out to separate concerns and make the rest more palatable. - The 5th commit blesses some test outputs. Sometimes that's just because a diagnostic happens slightly earlier than before, which I'd say is acceptable. Sometimes a diagnostic is now only emitted once where it would've been twice before (yay! fixed some bugs). One test I actually moved from crashes to fixed, because it simply doesn't crash anymore. That's why this PR Closes #132391. I think most choices I made here are generally reasonable, but let me know if you disagree anywhere. - The 6th commit adds a derive to pretty print attributes - The 7th removes smir apis for attributes, for the time being. The api will at some point be replaced by one based on `rustc_ast_data_structures::AttributeKind` In general, a lot of the additions here are comments. I've found it very important to document new things in the 2nd commit well so other people can start using it. Closes #132391 Closes #136717
2025-02-24minor: Add tabstop to impl body in `generate_trait_impl` assistGiga Bowser-14/+18
2025-02-24Remove dyn_compatible_for_dispatchMichael Goulet-1/+0
2025-02-24rename simd_shuffle_generic → simd_shuffle_const_genericRalf Jung-5/+5
2025-02-24Merge pull request #19171 from ShoyuVanilla/migrate-de-morgan-assistLukas Wirth-75/+351
internal: Migrate `apply_demorgan` to `SyntaxEditor`
2025-02-24Merge pull request #18987 from ChayimFriedman2/drop-glueLukas Wirth-6/+1002
feat: Calculate drop glue and show it on hover
2025-02-24Add `take()` method to `SyntaxEditor`Shoyu Vanilla-25/+20
2025-02-24Migrate `apply_demorgan` to `SyntaxEditor`Shoyu Vanilla-52/+162
2025-02-24Migrate some leftovers in `add_missing_match_arms`Shoyu Vanilla-25/+196
2025-02-24simplify must-use lint slightlyJana Dönszelmann-52/+47
2025-02-24Fix rustdoc and clippyJana Dönszelmann-111/+117
2025-02-24Change span field accesses to method callsJana Dönszelmann-0/+0
2025-02-24Merge pull request #4193 from bjorn3/arm64_vpmaxq_u8Ralf Jung-13/+124
Implement vpmaxq_u8 on aarch64
2025-02-24Merge pull request #19219 from Veykril/push-rvosplwpwqqtLukas Wirth-8/+122
Vendor `always-assert` into `stdx`
2025-02-24Merge pull request #19211 from Timmmm/user/timh/import_privateLukas Wirth-1/+4
Include private items in completions for local crates
2025-02-24Merge pull request #19197 from andylokandy/instaLukas Wirth-16/+13
feat: update insta inline snapshot when clicking 'Update Test' runnable
2025-02-24Merge pull request #19218 from Veykril/push-vqsronpuvrnxLukas Wirth-1/+0
Disable incremental on release builds
2025-02-24Vendor always-assertLukas Wirth-8/+122
2025-02-24Disable incremental on release buildsLukas Wirth-1/+0
2025-02-24slightly extend commentRalf Jung-1/+2
2025-02-24add missing float non-determinism tests and skip some on ↵Ralf Jung-10/+24
i686-pc-windows-msvc that are internally implemented via f64
2025-02-24Merge pull request #19217 from lnicola/event-nameLaurențiu Nicola-6/+6
Fix `event_name` check is workflows
2025-02-24make sure we install the toolchain for the intended host targetRalf Jung-1/+7
2025-02-24Fix event_name check in workflowsLaurențiu Nicola-6/+6
2025-02-24sanity-check for HOST_TARGETRalf Jung-1/+12
2025-02-24Downgrade to ubuntu-22.04 for aarch64-unknown-linux-gnu and ↵Laurențiu Nicola-2/+2
arm-unknown-linux-gnueabihf builds
2025-02-24Update assist docsLaurențiu Nicola-149/+175
2025-02-24Format codeLaurențiu Nicola-2/+8
2025-02-24Add rustc_hashes and bump the othersLaurențiu Nicola-17/+38
2025-02-24Merge from rust-lang/rustLaurențiu Nicola-507/+520
2025-02-24Preparing for merge from rust-lang/rustLaurențiu Nicola-1/+1
2025-02-24Merge from rustcRalf Jung-398/+409
2025-02-24Preparing for merge from rustcRalf Jung-1/+1
2025-02-23Rollup merge of #137483 - bend-n:😅, r=NoratriebTrevor Gross-6/+6
rename sub_ptr to offset_from_unsigned i also made `byte_sub_ptr` `byte_offset_from_unsigned` fixes #137121 tracking issue #95892
2025-02-23Rollup merge of #136543 - RalfJung:round-ties-even, r=tgross35Trevor Gross-8/+8
intrinsics: unify rint, roundeven, nearbyint in a single round_ties_even intrinsic LLVM has three intrinsics here that all do the same thing (when used in the default FP environment). There's no reason Rust needs to copy that historically-grown mess -- let's just have one intrinsic and leave it up to the LLVM backend to decide how to lower that. Suggested by `@hanna-kruppe` in https://github.com/rust-lang/rust/issues/136459; Cc `@tgross35` try-job: test-various
2025-02-23Merge pull request #19191 from Veykril/push-yzzlosskwrxsLukas Wirth-131/+23
Remove `limit` crate in favor `usize`
2025-02-23Remove `limit` crate in favor `usize`Lukas Wirth-131/+23
2025-02-23rename sub_ptr 😅bendn-6/+6
2025-02-23stabilize extract_ifbendn-1/+0
2025-02-23compiletest: disambiguate between root build dir vs test suite specific ↵许杰友 Jieyou Xu (Joe)-38/+51
build dir - Introduce and use `--build-{root,test-suite-root}` over `--build-base`. - A few minor cleanups.
2025-02-23Include private items in completions for local cratesTim Hutt-1/+4
Don't filter out private items when completing paths in the same crate. Instead respect the `privateEditable` setting. Fixes #9850
2025-02-23Auto merge of #137237 - cuviper:stage0, r=Mark-Simulacrumbors-3/+0
Master bootstrap update https://forge.rust-lang.org/release/process.html#master-bootstrap-update-tuesday r? `@Mark-Simulacrum`
2025-02-23Fix codegen of parser inline tests runnerniller-g-61/+59
When running `cargo codegen` the `crates/parser/test_data/generated/runner.rs` file is only updated when some file in `crates/parser/test_data/inline` changes. However this is not sufficient in all cases