about summary refs log tree commit diff
path: root/src/tools
AgeCommit message (Collapse)AuthorLines
2024-05-18Render closure fn trait kind in siganture helpLukas Wirth-27/+79
2024-05-18support aligned_alloc for unixes support.David Carlier-0/+128
2024-05-18Allow hir::Param to refer to other entity params aside from functionsLukas Wirth-118/+114
2024-05-18Update builtin tool listLukas Wirth-25/+16
2024-05-17Update cargoWeihang Lo-0/+0
2024-05-17Fix clippyScott McMurray-3/+3
2024-05-18implement assist to switch between doc and normal commentsLuuk Wester-0/+662
2024-05-18Rollup merge of #125221 - Oneirical:fourth, r=jieyouxu许杰友 Jieyou Xu (Joe)-1/+0
Migrate `run-make/issue-28766` 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).
2024-05-18Rollup merge of #125215 - Oneirical:easy-test-the-second, r=jieyouxu许杰友 Jieyou Xu (Joe)-1/+6
Migrate `run-make/issue64319` to `rmake` and rename Part of #121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html). ~~I noticed that the Makefile was not listed in `allowed-run-makefiles` in Tidy. Does this mean the test was being ignored?~~ EDIT: No, it was there, just not in its expected alphabetical order. EDIT2: Perhaps it could be interesting to clean this test visually by looping over the `rustc` calls, like in #125227.
2024-05-18Rollup merge of #125213 - Oneirical:easy-test, r=jieyouxu许杰友 Jieyou Xu (Joe)-1/+0
Migrate `run-make/static-unwinding` 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). An easy one after the last one, though the explanatory comment could use some clarification.
2024-05-17Rename Unsafe to SafetySantiago Pastorino-82/+77
2024-05-17Ignore the Helix configuration directorymarc0246-0/+1
2024-05-17rewrite and rename issue-28766Oneirical-1/+0
2024-05-17rewrite no-intermediate-extrasOneirical-1/+0
2024-05-17Auto merge of #3603 - Luv-Ray:issue-3572, r=RalfJungbors-19/+28
Give `FileDescription::{read, write}` access to the `MiriInterpCx ` fixes #3572
2024-05-17Update allowed_run_make_makefiles.txtJulien-1/+0
2024-05-17rewrite issue64319 and renameOneirical-0/+6
2024-05-17fix: resolve extern prelude for local mods in block modulesroife-7/+12
2024-05-17Rewrite static-unwinding as rmake.rsOneirical-1/+0
2024-05-17Migrate `run-make/rustdoc-scrape-examples-remap` to `rmake.rs`Guillaume Gomez-1/+0
2024-05-17Correct Neovim 0.10 inlay hints config exampleAdam Szkoda-1/+1
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