Skip to content

Commit 335e08b

Browse files
henrywangclaude
andcommitted
xtask: Fix rand 0.10 API compatibility
In rand 0.10, the `random_range` method moved from the `Rng` trait to the new `RngExt` trait. Update the import accordingly. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 7c3cbd4 commit 335e08b

2 files changed

Lines changed: 224 additions & 5 deletions

File tree

Cargo.lock

Lines changed: 223 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/xtask/src/tmt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use anyhow::{Context, Result};
22
use camino::{Utf8Path, Utf8PathBuf};
33
use fn_error_context::context;
4-
use rand::Rng;
4+
use rand::RngExt;
55
use xshell::{Shell, cmd};
66

77
// Generation markers for integration.fmf

0 commit comments

Comments
 (0)