Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
136d24f
core: Add `BorrowedCursor::with_unfilled_buf`
a1phyr Jun 22, 2025
f1b5a56
wrapping shift: remove first bitmask and table
hkBst Jul 3, 2025
148a220
remote-test-client: Exit code `128 + <signal-number>` instead of `3`
Enselic Jul 4, 2025
2412f89
UWP: link ntdll functions using raw-dylib
ChrisDenton Jul 7, 2025
7fc2127
bootstrap/miri: avoid rebuilds for test builds
RalfJung Jul 9, 2025
4c94798
random: Add comment on `RandomSource::fill_bytes` about multiple calls
joshtriplett Jul 9, 2025
ef5c209
tidy: clippy fixes
hkBst Jul 9, 2025
a4e994e
tidy: simplify fluent file extension checking
hkBst Jul 10, 2025
9bd4c90
tidy: move to edition 2024
hkBst Jul 10, 2025
6356faf
tidy: use flatten instead of manual flatten
hkBst Jul 10, 2025
8bf88a2
tidy: use write_all
hkBst Jul 10, 2025
5e20385
random: Provide a `Distribution<T>` trait
joshtriplett Jul 9, 2025
900aa00
Update miri for change to random API
joshtriplett Jul 11, 2025
5d7db7e
Fixed a core crate compilation failure when enabling the `optimize_fo…
nazo6 Jul 12, 2025
b703451
refine comment
RalfJung Jul 12, 2025
86349e3
Port `#[omit_gdb_pretty_printer_section]` to the new attribute parsin…
JonathanBrouwer Jul 12, 2025
a5ab682
warn on align on fields to avoid breaking changes
jdonszelmann Jul 13, 2025
75561c4
Port `#[link_ordinal]` to the new attribute parsing infrastructure.
Periodic1911 Jun 29, 2025
377aa76
Attempt to fix up SGX for random API updates
joshtriplett Jul 13, 2025
a2d4139
Use zero for initialized Once state
orlp Jul 13, 2025
f041962
Add comment why we use zero for COMPLETE
orlp Jul 13, 2025
a3c90b6
Run bootstrap tests sooner in the `x test` pipeline
Kobzol Jul 13, 2025
25794b1
Compiletest: Simplify {Html,Json}DocCk directive handling
fmease Jul 12, 2025
98eadb3
Don't unnecessarily require `eh_personality`
ChrisDenton Jul 13, 2025
6b02597
update issue number for `const_trait_impl`
fee1-dead Jul 13, 2025
837e50d
Rollup merge of #142885 - a1phyr:borrowed_cursor_to_buf, r=Mark-Simul…
fmease Jul 14, 2025
5724301
Rollup merge of #143217 - Periodic1911:link-ordinal, r=jdonszelmann
fmease Jul 14, 2025
0f93385
Rollup merge of #143355 - hkBst:cleanup-shift-double-bitmask, r=Mark-…
fmease Jul 14, 2025
a32b570
Rollup merge of #143448 - Enselic:remote-test-client-signals, r=Mark-…
fmease Jul 14, 2025
ba209f6
Rollup merge of #143592 - ChrisDenton:uwp-link, r=Mark-Simulacrum
fmease Jul 14, 2025
df74aa1
Rollup merge of #143681 - RalfJung:bootstrap-miri-rebuilds, r=Kobzol
fmease Jul 14, 2025
fe2fea5
Rollup merge of #143710 - joshtriplett:random-updates, r=joshtriplett
fmease Jul 14, 2025
9f51162
Rollup merge of #143724 - hkBst:tidy-cleanup, r=Mark-Simulacrum
fmease Jul 14, 2025
5e900f1
Rollup merge of #143820 - nazo6:fix-optimize-for-size, r=Mark-Simulacrum
fmease Jul 14, 2025
5426eab
Rollup merge of #143850 - fmease:comptest-simp-docck-handling, r=jiey…
fmease Jul 14, 2025
46d24fa
Rollup merge of #143855 - JonathanBrouwer:omit_gdb_pretty_printer_sec…
fmease Jul 14, 2025
98303f9
Rollup merge of #143868 - jdonszelmann:fix-align-on-fields, r=working…
fmease Jul 14, 2025
4a8fa9b
Rollup merge of #143875 - fee1-dead-contrib:push-zvqrmzrprpzt, r=comp…
fmease Jul 14, 2025
3d97409
Rollup merge of #143881 - orlp:once-state-repr, r=tgross35
fmease Jul 14, 2025
145d0cc
Rollup merge of #143887 - Kobzol:reroder-bootstrap-tests, r=jieyouxu
fmease Jul 14, 2025
62d6214
Rollup merge of #143893 - ChrisDenton:eh_personality_optional, r=comp…
fmease Jul 14, 2025
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
tidy: move to edition 2024
  • Loading branch information
hkBst committed Jul 11, 2025
commit 9bd4c90cafa65d6aee8295d776af314098f33bcc
2 changes: 1 addition & 1 deletion src/tools/tidy/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "tidy"
version = "0.1.0"
edition = "2021"
edition = "2024"
autobins = false

[dependencies]
Expand Down
9 changes: 5 additions & 4 deletions src/tools/tidy/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@ use std::{env, process};
use tidy::*;

fn main() {
// Running Cargo will read the libstd Cargo.toml
// Enable nightly, because Cargo will read the libstd Cargo.toml
// which uses the unstable `public-dependency` feature.
//
// `setenv` might not be thread safe, so run it before using multiple threads.
env::set_var("RUSTC_BOOTSTRAP", "1");
// SAFETY: no other threads have been spawned
unsafe {
env::set_var("RUSTC_BOOTSTRAP", "1");
}

let root_path: PathBuf = env::args_os().nth(1).expect("need path to root of repo").into();
let cargo: PathBuf = env::args_os().nth(2).expect("need path to cargo").into();
Expand Down