about summary refs log tree commit diff
path: root/src/tools
AgeCommit message (Collapse)AuthorLines
2024-06-17Auto merge of #17442 - Veykril:pat-eof, r=Veykrilbors-1/+39
fix: Fix pat fragment parsers choking on <eoi> Fixes https://github.com/rust-lang/rust-analyzer/issues/17441
2024-06-17fix: Fix pat fragment parsers choking on <eoi>Lukas Wirth-1/+39
2024-06-17rewrite incremental-session-fail to rmakeOneirical-13/+18
2024-06-17Auto merge of #17435 - Lunaphied:fix/manual-generation, r=Veykrilbors-1/+1
docs: fix manual generation instructions To generate all the requisite files, you need to run `cargo xtask codegen` not `cargo test -p xtask`.
2024-06-17Auto merge of #17434 - Lunaphied:fix/document-inlay-parameters, r=Veykrilbors-0/+17
docs: document omission heuristics for parameter inlay hints These are not currently documented and could cause users to think that their rust-analyzer configuration is broken. Partially addresses #17433.
2024-06-17Auto merge of #17439 - Veykril:paralleler-prime-caches, r=Veykrilbors-35/+138
Properly prime all crate def maps in parallel_prime_caches
2024-06-17rewrite `link-dedup` to rmakeOneirical-1/+0
2024-06-17Rewrite `link-arg` in rmake.rsOneirical-1/+0
2024-06-17Auto merge of #3683 - RalfJung:MIRIFLAGS, r=RalfJungbors-81/+52
tell people how to set miri flags fixes https://github.com/rust-lang/miri/issues/3677
2024-06-17Fix and cleanup VSCode task buildingLukas Wirth-72/+85
2024-06-17Add some more syntax fixup rulesLukas Wirth-1/+122
2024-06-17Properly prime all crate def maps in `parallel_prime_caches`Lukas Wirth-34/+16
2024-06-17feat: add `toggleLSPLogs` commandJoel Daniel Rico-2/+25
add `toggleLSPLogs` command update docs to reflect new command
2024-06-17tell people how to set miri flagsRalf Jung-81/+52
2024-06-17Auto merge of #3681 - rust-lang:rustup-2024-06-17, r=RalfJungbors-2148/+3530
Automatic Rustup
2024-06-17show proper UB when making a too large allocation requestRalf Jung-26/+59
2024-06-17Merge from rustcThe Miri Cronjob Bot-2147/+3529
2024-06-17Preparing for merge from rustcThe Miri Cronjob Bot-1/+1
2024-06-17tidy: skip submodules if not present for non-CI environmentsonur-ozkan-1/+57
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-06-16Rename InstanceDef -> InstanceKindMichael Goulet-1/+1
2024-06-17Migrate `run-make/used` to `rmake.rs`Guillaume Gomez-1/+0
2024-06-16docs: fix manual generation instructionsLunaphied-1/+1
To generate all the requisite files, you need to run `cargo xtask codegen` not `cargo test -p xtask`.
2024-06-16docs: document omission heuristics for parameter inlay hintsLunaphied-0/+17
These are not currently documented and could cause users to think that their rust-analyzer configuration is broken. Partially addresses #17433.
2024-06-16Rollup merge of #126546 - joboet:move_pal_backtrace, r=workingjubilee许杰友 Jieyou Xu (Joe)-17/+17
std: move `sys_common::backtrace` to `sys` Part of #117276.
2024-06-16Rollup merge of #126536 - Rejyr:remove-unused-run-make-file, r=jieyouxu许杰友 Jieyou Xu (Joe)-45/+6
Remove unused `llvm_readobj.rs` in `run-make-support` `llvm_readobj.rs` seems unused from the migration to `llvm.rs` in #125165. Also, `llvm.rs` was missing the drop bombs (#125752) in `llvm_readobj.rs`. Part of #121876. r? `@jieyouxu`
2024-06-16Rollup merge of #126524 - klensy:bump-15-06-24, r=onur-ozkan许杰友 Jieyou Xu (Joe)-2/+2
bump few deps This bump deps to cut dupes: Updating html5ever 0.27 Updating derive_more 0.99.18 Updating crossbeam-deque v0.8.5 Updating crossbeam-epoch v0.9.18 Updating crossbeam-utils v0.8.20 Updating junction v1.1.0 No interesting changes in changelogs.
2024-06-16Rollup merge of #126192 - bjorn3:redox_patches, r=petrochenkov许杰友 Jieyou Xu (Joe)-0/+1
Various Redox OS fixes and add i686 Redox OS target All of these come from the fork used by Redox OS available at https://gitlab.redox-os.org/redox-os/rust/-/commits/redox-2024-05-11/?ref_type=heads. cc `@jackpot51`
2024-06-16Add i686-unknown-redox targetbjorn3-0/+1
Co-Authored-By: Jeremy Soller <jackpot51@gmail.com>
2024-06-16Auto merge of #126542 - ↵bors-1/+0
GuillaumeGomez:migrate-run-make-duplicate-output-flavors, r=Kobzol Migrate `run-make/duplicate-output-flavors` to `rmake.rs` Part of https://github.com/rust-lang/rust/issues/121876. r? `@jieyouxu`
2024-06-16std: move `sys_common::backtrace` to `sys`joboet-17/+17
2024-06-16Migrate `run-make/duplicate-output-flavors` to `rmake.rs`Guillaume Gomez-1/+0
2024-06-16feat: add space after specific keywords in completionroife-24/+193
2024-06-15Add drop bombs to `llvm.rs`Jerry Wang-0/+6
2024-06-15Remove `run-make-support/src/llvm_readobj.rs`Jerry Wang-45/+0
2024-06-15Rollup merge of #126526 - Enselic:non-snake-case, r=jieyouxuGuillaume Gomez-3/+0
tests/ui/lint: Move 19 tests to new `non-snake-case` subdir Mainly so that it is easier to only run all `non_snake_case`-lint-specific tests with: ./x test tests/ui/lint/non-snake-case But also to reduce the size of the large `tests/ui/lint` directory. And rename some tests to pass tidy, and remove them from `src/tools/tidy/src/issues.txt`.
2024-06-15Rollup merge of #126517 - GuillaumeGomez:migrate-run-make-dep-graph, r=KobzolGuillaume Gomez-1/+0
Migrate `run-make/dep-graph` to `rmake.rs` Part of https://github.com/rust-lang/rust/issues/121876. r? `@jieyouxu`
2024-06-15Rollup merge of #126478 - ↵Guillaume Gomez-1/+0
GuillaumeGomez:migrate-run-make-codegen-options-parsing, r=jieyouxu Migrate `run-make/codegen-options-parsing` to `rmake.rs` Part of https://github.com/rust-lang/rust/issues/121876. r? `@jieyouxu`
2024-06-15Rollup merge of #126229 - ChrisDenton:bindgen, r=Mark-SimulacrumGuillaume Gomez-1/+1
Bump windows-bindgen to 0.57 This PR updates our generated Windows API bindings using the latest version of `windows-bindgen`. The only change to the generated code is that `derive` is used for `Copy` and `Clone` instead of `impl`.
2024-06-15fix build with html5ever bumpklensy-1/+1
2024-06-15tests/ui/lint: Move 19 tests to new `non-snake-case` subdirMartin Nordholts-3/+0
Mainly so that it is easier to only run all `non-snake-case`-specific tests but no other tests with: ./x test tests/ui/lint/non-snake-case But also to reduce the size of the large `tests/ui/lint` directory. And rename some tests to pass tidy, and remove them from `src/tools/tidy/src/issues.txt`.
2024-06-15bump few depsklensy-1/+1
2024-06-15std: refactor the TLS implementationjoboet-3/+3
As discovered by Mara in #110897, our TLS implementation is a total mess. In the past months, I have simplified the actual macros and their expansions, but the majority of the complexity comes from the platform-specific support code needed to create keys and register destructors. In keeping with #117276, I have therefore moved all of the `thread_local_key`/`thread_local_dtor` modules to the `thread_local` module in `sys` and merged them into a new structure, so that future porters of `std` can simply mix-and-match the existing code instead of having to copy the same (bad) implementation everywhere. The new structure should become obvious when looking at `sys/thread_local/mod.rs`. Unfortunately, the documentation changes associated with the refactoring have made this PR rather large. That said, this contains no functional changes except for two small ones: * the key-based destructor fallback now, by virtue of sharing the implementation used by macOS and others, stores its list in a `#[thread_local]` static instead of in the key, eliminating one indirection layer and drastically simplifying its code. * I've switched over ZKVM (tier 3) to use the same implementation as WebAssembly, as the implementation was just a way worse version of that Please let me know if I can make this easier to review! I know these large PRs aren't optimal, but I couldn't think of any good intermediate steps. @rustbot label +A-thread-locals
2024-06-15fix: handle character boundaries for wide chars in extend_selectionroife-1/+21
2024-06-15Migrate `run-make/dep-graph` to `rmake.rs`Guillaume Gomez-1/+0
2024-06-15Auto merge of #126518 - matthiaskrgr:rollup-wb70rzq, r=matthiaskrgrbors-160/+68
Rollup of 9 pull requests Successful merges: - #125829 (rustc_span: Add conveniences for working with span formats) - #126361 (Unify intrinsics body handling in StableMIR) - #126417 (Add `f16` and `f128` inline ASM support for `x86` and `x86-64`) - #126424 ( Also sort `crt-static` in `--print target-features` output) - #126428 (Polish `std::path::absolute` documentation.) - #126429 (Add `f16` and `f128` const eval for binary and unary operationations) - #126448 (End support for Python 3.8 in tidy) - #126488 (Use `std::path::absolute` in bootstrap) - #126511 (.mailmap: Associate both my work and my private email with me) r? `@ghost` `@rustbot` modify labels: rollup
2024-06-15Rollup merge of #126448 - DianQK:tidy-python, r=onur-ozkanMatthias Krüger-59/+12
End support for Python 3.8 in tidy Python 3.8 will reach its end of support in October 2024. You can find more details [here](https://devguide.python.org/versions/). ### NixOS NixOS has already discontinued provide Python 3.8. For more information, visit their [package search page](https://search.nixos.org/packages?channel=24.05&from=0&size=50&sort=relevance&type=packages&query=python38). ### Debian - **Debian 11 (Bullseye)**: The default Python version is 3.9. More information is available [here](https://packages.debian.org/bullseye/python3). - **Debian 10 (Buster) (EOL 2024-10)**: The default Python version is 3.7. Details can be found [here](https://packages.debian.org/buster/python3). ### Ubuntu - **Ubuntu 20.04 'Focal Fossa' (LTS)**: The default Python version is 3.8.2. However, Python 3.9 is also available. You can find more information on these packages [here](https://packages.ubuntu.com/focal/python3) and [here](https://packages.ubuntu.com/focal/python3.9). - **Ubuntu 22.04 'Jammy Jellyfish' (LTS)**: The default Python version is 3.10.6. More details can be found [here](https://packages.ubuntu.com/jammy/python3).
2024-06-15Rollup merge of #126429 - tgross35:f16-f128-const-eval, r=RalfJungMatthias Krüger-101/+56
Add `f16` and `f128` const eval for binary and unary operationations Add const evaluation and Miri support for f16 and f128, including unary and binary operations. Casts are not yet included. Fixes https://github.com/rust-lang/rust/issues/124583 r? ``@RalfJung``
2024-06-15Created expand_allowed_builtins, updated expand_macro to call this functionIshan Jain-3/+20
2024-06-15Rollup merge of #126512 - RalfJung:miri-sync, r=RalfJungMatthias Krüger-152/+1522
Miri subtree update r? `@ghost`
2024-06-15Auto merge of #3672 - RalfJung:cargo-many-seeds, r=RalfJungbors-107/+174
cargo miri: add support for '--many-seeds' to run the program / tests many times with different seeds: `cargo miri run --many-seeds` / `cargo miri test --many-seeds`. `@rust-lang/miri` any opinion on the flag name here? Should it be `-Zmiri-many-seeds` or is `--many-seeds` fine? Fixes https://github.com/rust-lang/miri/issues/3546