about summary refs log tree commit diff
path: root/src/tools
AgeCommit message (Collapse)AuthorLines
2024-05-17Auto merge of #125178 - GuillaumeGomez:migrate-rustdoc-with-out-dir, r=jieyouxubors-2/+1
Migrate `run-make/rustdoc-with-out-dir-option` to new `rmake.rs` Part of https://github.com/rust-lang/rust/issues/121876. r? `@jieyouxu`
2024-05-17Auto merge of #3526 - Strophox:miri-memory, r=RalfJungbors-6/+119
Adjust Allocation Bytes used by Miri to custom MiriAllocBytes Previously, the `MiriMachine` used `type Bytes = Box<[u8]>` for its allocations. This PR swaps this out for a custom `MiriAllocBytes` type implemented in `alloc_bytes.rs`. This is in anticipation of an extension to Miri's FFI, which will require its allocations to take care of alignment (the methods in `impl AllocBytes for Box<[u8]>` ignore this `_align: Align` argument). Needs https://github.com/rust-lang/rust/pull/124492
2024-05-17Clear diagnostics only after new ones were receivedDavid Mládek-1/+10
2024-05-17Fix `htmldocck` functionGuillaume Gomez-1/+1
2024-05-17Migrate `run-make/rustdoc-with-out-dir-option` to new `rmake.rs`Guillaume Gomez-1/+0
2024-05-16Remove trivial Binder::dummy callsMichael Goulet-1/+1
2024-05-16Fix toolsMichael Goulet-4/+4
2024-05-16start implementing MiriAllocBytesStrophox-6/+119
attempt changing Bytes in MiriMachine to MiriAllocBytes rename miri_alloc_bytes to alloc_bytes generalize impl VisitProvenance for Allocation for any Bytes: AllocBytes mend MiriAllocBytes -> Self::Bytes fix Invariant documentation and bugs (drop), impl Clone Update MiriAllocBytes description Co-authored-by: Ralf Jung <post@ralfj.de> Rephrase MiriAllocBytes ptr invariant Co-authored-by: Ralf Jung <post@ralfj.de> Update MiriAllocBytes ptr documentation Co-authored-by: Ralf Jung <post@ralfj.de> fix safety comment in MiriAllocBytes::clone fix safety comment in MiriAllocBytes::from_bytes try implementing clone without unsafe remove derive(PartialEq,Eq,Hash), fix fmt move ptr.is_null() check inside only necessary branch use std::ptr::without_provenance_mut, requiring feature(strict_provenance) align.bytes_usize() instead of align.bytes().try_into().unwrap() Update src/provenance_gc.rs Co-authored-by: Ralf Jung <post@ralfj.de> fix clippy error on deref
2024-05-16alloc now works on wasi (and some formatting)Ralf Jung-41/+97
2024-05-16Merge from rustcRalf Jung-23/+84
2024-05-16Preparing for merge from rustcRalf Jung-1/+1
2024-05-16Auto merge of #17243 - Veykril:static-lt-hir, r=Veykrilbors-40/+70
internal: Add StaticLifetime to hir API
2024-05-16internal: Add StaticLifetime to hir APILukas Wirth-40/+70
2024-05-16Fix `for_loops_over_fallibles` hits in compiletest/src/json.rszachs18-2/+2
2024-05-15Rollup merge of #125146 - Oneirical:panic-impl, r=jieyouxuLeón Orell Valerian Liehr-1/+0
Migrate `run-make/panic-impl-transitive` to `rmake` Part of #121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html). The test itself is quite simple, but the "handle panics by entering infinite loop" part is strange.
2024-05-15Rollup merge of #125142 - GuillaumeGomez:migrate-rustdoc-themes, r=jieyouxuLeón Orell Valerian Liehr-1/+6
Migrate `run-make/rustdoc-themes` to new rmake.rs Part of https://github.com/rust-lang/rust/issues/121876. r? `@jieyouxu`
2024-05-15Fix typosblyxyas-5/+5
2024-05-15rewrite panic-impl-transitiveOneirical-1/+0
2024-05-15CI: fix toolstate publishingJakub Beránek-2/+1
2024-05-15Use actions/cache again in metrics CILukas Wirth-11/+15
2024-05-15Auto merge of #125144 - fmease:rollup-4uft293, r=fmeasebors-2/+0
Rollup of 6 pull requests Successful merges: - #124307 (Optimize character escaping.) - #124975 (Use an helper to move the files) - #125027 (Migrate `run-make/c-link-to-rust-staticlib` to `rmake`) - #125038 (Invert comparison in `uN::checked_sub`) - #125104 (Migrate `run-make/no-cdylib-as-rdylib` to `rmake`) - #125137 (MIR operators: clarify Shl/Shr handling of negative offsets) r? `@ghost` `@rustbot` modify labels: rollup
2024-05-15Rollup merge of #125104 - Oneirical:test6, r=jieyouxuLeón Orell Valerian Liehr-1/+0
Migrate `run-make/no-cdylib-as-rdylib` to `rmake` Part of #121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html). > "the test will fail if the cdylib is picked, because it doesn't export any rust symbols" Is that true? Is there a way to verify? I suggest maybe extending the test with: (after cleaning the directory) ```rust rustc() .input("bar.rs") .crate_type("cdylib") .run(); rustc() .input("foo.rs") .prefer_dynamic() .run(); fail(); ``` to make sure we're actually testing something here.
2024-05-15Rollup merge of #125027 - Oneirical:c-test-with-remove, r=jieyouxuLeón Orell Valerian Liehr-1/+0
Migrate `run-make/c-link-to-rust-staticlib` to `rmake` Part of #121876. r? `@jieyouxu`
2024-05-15Auto merge of #17239 - Veykril:metrics-caching, r=Veykrilbors-3/+3
internal: Key ignoring the job-id in metrics cache
2024-05-15Key ignoring the job-id in metrics cacheLukas Wirth-3/+3
2024-05-15Auto merge of #17238 - Veykril:metrics-caching, r=Veykrilbors-17/+13
Fix metrics workflow not actually updating the toolchain The install won't persist across jobs
2024-05-15Fix metrics workflow not actually updating the toolchainLukas Wirth-17/+13
2024-05-15Auto merge of #123413 - petrochenkov:delegmulti2, r=fmeasebors-3/+3
delegation: Implement list delegation ```rust reuse prefix::{a, b, c}; ``` Using design described in https://github.com/rust-lang/rfcs/pull/3530#issuecomment-2020869823 (the lists are desugared at macro expansion time). List delegations are expanded eagerly when encountered, similarly to `#[cfg]`s, and not enqueued for later resolution/expansion like regular macros or glob delegation (https://github.com/rust-lang/rust/pull/124135). Part of https://github.com/rust-lang/rust/issues/118212.
2024-05-15Migrate `run-make/rustdoc-themes` to new rmakeGuillaume Gomez-1/+0
2024-05-15Add new `htmldocck` function to `run-make-support`Guillaume Gomez-0/+6
2024-05-15Auto merge of #17235 - Veykril:metrics-caching, r=Veykrilbors-31/+14
internal: Use Swatinem/rust-cache for metrics CI Current metrics caching uses a base cache action, whereas I think the one we use for general ci works here as well. Saw this while noticing that our metrics CI is broken as it for some reason uses an outdated rust stable? (unsure why that is)
2024-05-15Auto merge of #125032 - compiler-errors:crash-dump-dir, r=onur-ozkanbors-8/+14
Make crashes dump mir to build dir Set `-Zdump-mir-dir` for `crashes`-style tests. Alternatively, we just remove `tests/crashes/124436.rs`, since if the only way to get it to repro is via `-Zdump-mir`, then maybe it's not worth it to fix. Fixes #125029
2024-05-15Bump Swatinem/rust-cacheLukas Wirth-2/+2
2024-05-15Use Swatinem/rust-cache for metrics CILukas Wirth-29/+12
2024-05-15delegation: Implement list delegationVadim Petrochenkov-3/+3
```rust reuse prefix::{a, b, c} ```
2024-05-14Port issue-11908 to rmakeOneirical-13/+49
2024-05-14port no-cdylib-as-rdylib testOneirical-1/+0
2024-05-14rewrite c-link-to-rust-staticlibOneirical-1/+0
2024-05-14Auto merge of #17232 - Veykril:build-scripts-keep-going, r=Veykrilbors-9/+16
fix: Don't emit --keep-going for custom build script commands Might be the cause for https://github.com/rust-lang/rust-analyzer/issues/17231
2024-05-14fix: Don't emit --keep-going for custom build script commandsLukas Wirth-9/+16
2024-05-14feat(tools/opt-dist): allow local builds to specify a rustc-perf checkoutBernardo Meurer Costa-0/+6
2024-05-14Auto merge of #17216 - Young-Flash:mod_with_path, r=Veykrilbors-3/+78
fix: extract mod to file should respect path attribute close https://github.com/rust-lang/rust-analyzer/issues/17181
2024-05-14Rollup merge of #125047 - Oneirical:test5, r=jieyouxuMichael Goulet-1/+13
Migrate `run-make/issue-14500` to new `rmake.rs` format Part of #121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html). Note: I find suspicious that `libbar.a` is hardcoded and is not using the `STATICLIB` call to adapt to Windows platforms. Is this intentional? If not, this will need to be changed.
2024-05-14Auto merge of #17227 - Veykril:build-deps-changed-hashes, r=Veykrilbors-97/+94
fix: Hash file contents to verify whether file actually changed Fixes https://github.com/rust-lang/rust-analyzer/issues/16580
2024-05-14internal: Sort computed runnablesLukas Wirth-20/+34
2024-05-14Hash file contents to verify whether file actually changedLukas Wirth-94/+75
2024-05-14Auto merge of #17225 - Veykril:expand-macro-interlocked, r=Veykrilbors-27/+15
Expand macro recursively expands both fp-like and attribute macros when intertwined
2024-05-14Track hashes for file contentsLukas Wirth-12/+28
2024-05-14Auto merge of #17224 - Veykril:lock-bump, r=Veykrilbors-143/+169
Bump Cargo.lock
2024-05-14Expand macro recursively expands both fp-like and attribute macros intertwinedLukas Wirth-27/+15