aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/main.rs
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-07-18 04:38:27 +0300
committerValentin Popov <valentin@popov.link>2026-07-18 04:38:27 +0300
commit41a2746804448b4fc1c2b86e220f224a53ef6d69 (patch)
tree5fd929cf2c8f73b858079776be22928317667ce3 /xtask/src/main.rs
parentfbe5a8497a9d8b9b7093182f51c506825d6e34cf (diff)
downloadfparkan-41a2746804448b4fc1c2b86e220f224a53ef6d69.tar.xz
fparkan-41a2746804448b4fc1c2b86e220f224a53ef6d69.zip
fix(build): align stage zero gates with Rust 1.97
Diffstat (limited to 'xtask/src/main.rs')
-rw-r--r--xtask/src/main.rs14
1 files changed, 3 insertions, 11 deletions
diff --git a/xtask/src/main.rs b/xtask/src/main.rs
index fbee066..0e6864c 100644
--- a/xtask/src/main.rs
+++ b/xtask/src/main.rs
@@ -543,15 +543,7 @@ fn run_cargo_deny() -> Result<(), String> {
}
let status = Command::new(cargo_deny)
- .args([
- "check",
- "--workspace",
- "--all-features",
- "advisories",
- "bans",
- "licenses",
- "sources",
- ])
+ .args(["check", "advisories", "bans", "licenses", "sources"])
.status()
.map_err(|err| format!("failed to run cargo-deny: {err}"))?;
if status.success() {
@@ -1886,7 +1878,7 @@ fn parse_native_smoke_audit_options(args: &[String]) -> Result<NativeSmokeAuditO
"--expected-commit must be a 40-character lowercase or uppercase hex string, found {value:?}"
));
}
- expected_commit = value.to_string();
+ expected_commit.clone_from(value);
}
"--expected-shader-manifest-hash" => {
let value = iter.next().ok_or_else(|| {
@@ -1895,7 +1887,7 @@ fn parse_native_smoke_audit_options(args: &[String]) -> Result<NativeSmokeAuditO
if value.trim().is_empty() {
return Err("--expected-shader-manifest-hash must be non-empty".to_string());
}
- expected_shader_manifest_hash = value.to_string();
+ expected_shader_manifest_hash.clone_from(value);
}
_ => return Err(format!("unknown native-smoke audit option: {arg}")),
}