Skip to content

Commit d890b5c

Browse files
committed
transpile: update generated nightly to nightly-2023-04-15 (1.70.0) for cargo's sparse registry
The old git-based registry fetching is extremely slow in CI, and due to stable crates now building on stable but testing their output on nightly, is very difficult to correctly cache. Updating the nightly of their output to the earliest to have the sparse registry should fix this.
1 parent 703ff50 commit d890b5c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[toolchain]
2-
channel = "nightly-2022-08-08"
2+
channel = "nightly-2023-04-15" # 1.70 for sparse registry
33
components = ["rustfmt"]

c2rust-transpile/tests/snapshots.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ fn transpile(platform: Option<&str>, c_path: &Path) {
115115
let rlib_path = format!("lib{crate_name}.rlib");
116116
let status = Command::new("rustc")
117117
.args([
118-
"+nightly-2022-08-08",
118+
"+nightly-2023-04-15",
119119
"--crate-type",
120120
"lib",
121121
"--edition",

0 commit comments

Comments
 (0)