about summary refs log tree commit diff
path: root/src/tools
AgeCommit message (Collapse)AuthorLines
2023-10-22Auto merge of #3135 - RalfJung:nonatomic-clock, r=RalfJungbors-7/+7
avoid AtomicU64 when a Cell is enough
2023-10-22avoid AtomicU64 when a Cell is enoughRalf Jung-7/+7
2023-10-22clippyRalf Jung-1/+1
2023-10-22avoid a linear scan over the entire int_to_ptr_map on each deallocationRalf Jung-4/+9
2023-10-22Merge from rustcThe Miri Conjob Bot-845/+2316
2023-10-22Preparing for merge from rustcThe Miri Conjob Bot-1/+1
2023-10-21Merge commit '2b030eb03d9e5837440b1ee0b98c50b97c0c5889' into clippyupPhilipp Krones-845/+2316
2023-10-21Merge from rustcThe Miri Conjob Bot-135/+135
2023-10-21Preparing for merge from rustcThe Miri Conjob Bot-1/+1
2023-10-20Update cargoWeihang Lo-0/+0
2023-10-20bless miriOli Scherer-8/+8
2023-10-20Rename lots of files that had `generator` in their nameOli Scherer-0/+0
2023-10-20s/generator/coroutine/Oli Scherer-61/+61
2023-10-20s/Generator/Coroutine/Oli Scherer-48/+48
2023-10-20Avoid a `track_errors` by bubbling up most errors from `check_well_formed`Oli Scherer-12/+2
2023-10-20ignore deny lints in joshRalf Jung-1/+1
2023-10-20Merge from rustcRalf Jung-52/+47
2023-10-20Preparing for merge from rustcRalf Jung-1/+1
2023-10-19clarify commentRalf Jung-3/+7
2023-10-19remove allocations from int_to_ptr_map and exposed when they get freedRalf Jung-16/+35
2023-10-19switch intptrcast to helper trait pattern like everything elseRalf Jung-88/+87
2023-10-19intptrcast: only find strictly in-bounds pointers when we are not hitting ↵Ralf Jung-2/+5
the base address
2023-10-19fmtRalf Jung-4/+1
2023-10-19Auto merge of #115214 - Urgau:rfc-3127-trim-paths, r=compiler-errorsbors-2/+2
Implement rustc part of RFC 3127 trim-paths This PR implements (or at least tries to) [RFC 3127 trim-paths](https://github.com/rust-lang/rust/issues/111540), the rustc part. That is `-Zremap-path-scope` with all of it's components/scopes. `@rustbot` label: +F-trim-paths
2023-10-19Merge from rustcRalf Jung-43/+100
2023-10-19Preparing for merge from rustcRalf Jung-1/+1
2023-10-19Allow to run filecheck in mir-opt tests.Camille GILLOT-50/+45
2023-10-19Rollup merge of #116650 - RalfJung:miri-intptrcast, r=oli-obkMatthias Krüger-25/+48
add some comments and some cleanup around Miri intptrcast `@saethlin` maybe this helps a bit?
2023-10-18Tweak wording of type errors involving type paramsEsteban Küber-1/+1
Fix #78206.
2023-10-18Bump rustix from 0.38.17 to 0.38.19 in /miri-scriptdependabot[bot]-2/+2
Bumps [rustix](https://github.com/bytecodealliance/rustix) from 0.38.17 to 0.38.19. - [Release notes](https://github.com/bytecodealliance/rustix/releases) - [Commits](https://github.com/bytecodealliance/rustix/compare/v0.38.17...v0.38.19) --- updated-dependencies: - dependency-name: rustix dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
2023-10-18Bump rustix from 0.38.17 to 0.38.19 in /cargo-miridependabot[bot]-2/+2
Bumps [rustix](https://github.com/bytecodealliance/rustix) from 0.38.17 to 0.38.19. - [Release notes](https://github.com/bytecodealliance/rustix/releases) - [Commits](https://github.com/bytecodealliance/rustix/compare/v0.38.17...v0.38.19) --- updated-dependencies: - dependency-name: rustix dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
2023-10-18Bump rustix from 0.38.17 to 0.38.19dependabot[bot]-2/+2
--- updated-dependencies: - dependency-name: rustix dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
2023-10-18AliasTy::new instead of tcx methodlcnr-1/+1
2023-10-17Auto merge of #116767 - cjgillot:alloc-normalize, r=oli-obkbors-0/+34
Normalize alloc-id in tests. AllocIds are globally numbered in a rustc invocation. This makes them very sensitive to changes unrelated to what is being tested. This commit normalizes them by renumbering, in order of appearance in the output. The renumbering allows to keep the identity, that a simple `allocN` wouldn't. This is useful when we have memory dumps. cc `@saethlin` r? `@oli-obk`
2023-10-17Auto merge of #116855 - matthiaskrgr:rollup-i2izdwb, r=matthiaskrgrbors-16/+16
Rollup of 5 pull requests Successful merges: - #111072 (Add new simpler and more explicit syntax for check-cfg) - #116717 (Special case iterator chain checks for suggestion) - #116719 (Add MonoItems and Instance to stable_mir) - #116787 (Implement an internal lint encouraging use of `Span::eq_ctxt`) - #116827 (Make `handle_options` public again.) r? `@ghost` `@rustbot` modify labels: rollup
2023-10-17Rollup merge of #116787 - a-lafrance:span-internal-lint, r=oli-obkMatthias Krüger-16/+16
Implement an internal lint encouraging use of `Span::eq_ctxt` Adds a new Rustc internal lint that forbids use of `.ctxt() == .ctxt()` for spans, encouraging use of `.eq_ctxt()` instead (see https://github.com/rust-lang/rust/issues/49509). Also fixed a few violations of the lint in the Rustc codebase (a fun additional way I could test my code). Edit: MIR opt folks I believe that's why you're CC'ed, just a heads up. Two things I'm not sure about: 1. The way I chose to detect calls to `Span::ctxt`. I know adding diagnostic items to methods is generally discouraged, but after some searching and experimenting I couldn't find anything else that worked, so I went with it. That said, I'm happy to implement something different if there's a better way out there. (For what it's worth, if there is a better way, it might be worth documenting in the rustc-dev-guide, which I'm happy to take care of) 2. The error message for the lint. Ideally it would probably be good to give some context as to why the suggestion is made (e.g. `rustc::default_hash_types` tells the user that it's because of performance), but I don't have that context so I couldn't put it in the error message. Happy to iterate on the error message based on feedback during review. r? ``@oli-obk``
2023-10-17Auto merge of #3124 - eduardosm:fix-sse41-round, r=RalfJungbors-5/+64
Fix rounding mode check in SSE4.1 round functions Now it masks out the correct bit and adds some explanatory comments. Also extends the tests.
2023-10-17Fix rounding mode check in SSE4.1 round functionsEduardo Sánchez Muñoz-5/+64
Now it masks out the correct bit and adds some explanatory comments. Also extends the tests.
2023-10-17Update cargoWeihang Lo-0/+0
2023-10-17[RFC 3127 - Trim Paths]: Fix building tools (rustdoc, clippy, ...)Urgau-2/+2
2023-10-17fmtThe Miri Conjob Bot-49/+14
2023-10-17Merge from rustcThe Miri Conjob Bot-389/+535
2023-10-17Preparing for merge from rustcThe Miri Conjob Bot-1/+1
2023-10-16fix lint failures in clippyArthur Lafrance-16/+16
2023-10-17Auto merge of #116477 - nnethercote:tidy-alpha-deps, r=wesleywiserbors-2/+2
Use tidy to enforce alphabetical dependency ordering I get annoyed when dependencies in `Cargo.toml` files are not in alphabetical order. The [style guide](https://github.com/rust-lang/rust/blob/master/src/doc/style-guide/src/cargo.md) agrees with me. There are ongoing efforts to provide linting/formatting of `Cargo.toml` files, e.g. https://github.com/rust-lang/rustfmt/pull/5240, https://crates.io/crates/cargo-toml-lint, and https://github.com/TimonPost/cargo-toml-format. But it's far from clear what's the right approach. So this PR does something very simple: it uses the order checking already present in tidy. This allows incremental application of ordering, starting right now, and avoiding the need for any kind of all-at-once conversion. If we do end up using some more comprehensive `Cargo.toml` linting/formatting solution in the future, the `tidy-alphabetical` lines will be easy to remove. r? `@wesleywiser`
2023-10-16Rollup merge of #116798 - GuillaumeGomez:rustdoc-gui-tester-cleanup, r=notriddleGuillaume Gomez-2/+7
Improve display of parallel jobs in rustdoc-gui tester script If no `-j` option is not passed to `x.py`, it would display `-1`, which isn't great. r? `@notriddle`
2023-10-16Stop trying to preserve pretty-printing.Camille GILLOT-17/+17
2023-10-16Elaborate comment.Camille GILLOT-0/+2
2023-10-16Motivate renumbering and avoid underflow.Camille GILLOT-3/+6
2023-10-16Improve display of parallel jobs in rustdoc-gui tester scriptGuillaume Gomez-2/+7