Skip to content

Commit caf0972

Browse files
committed
Update nightly version to avoid issue with transitive dependency.
1 parent 925d2d8 commit caf0972

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

cli/src/command/host.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,11 @@ fn setup_crate(host_path: PathBuf, rev: Option<String>, tag: Option<String>) ->
133133
GUEST_TEMPLATE_CARGO_CONFIG,
134134
)?;
135135

136-
// guest/src/main.rs
137-
fs::write(guest_path.join("src/main.rs"), GUEST_TEMPLATE_SRC_MAIN)?;
138-
fs::write(guest_path.join("rust-toolchain.toml"), RUST_TOOLCHAIN)?;
136+
// guest/src/main.rs
137+
fs::write(guest_path.join("src/main.rs"), GUEST_TEMPLATE_SRC_MAIN)?;
138+
fs::write(guest_path.join("rust-toolchain.toml"), RUST_TOOLCHAIN)?;
139139

140-
Ok(())
140+
Ok(())
141141
}
142142

143143
macro_rules! host_examples_dir {
@@ -164,5 +164,5 @@ const GUEST_TEMPLATE_SRC_MAIN: &str = include_str!(concat!(guest_examples_dir!()
164164

165165
// freeze toolchain that works with all provers
166166
const RUST_TOOLCHAIN: &str = r#"[toolchain]
167-
channel = "nightly-2025-04-06"
167+
channel = "nightly-2025-05-09"
168168
"#;

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[toolchain]
2-
channel = "nightly-2025-04-06"
2+
channel = "nightly-2025-05-09"

sdk/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ $ rustup target add riscv32im-unknown-none-elf
1717
Then, install the Nexus zkVM:
1818

1919
```shell
20-
$ rustup run nightly-2025-04-06 cargo install --git https://github.com/nexus-xyz/nexus-zkvm cargo-nexus --tag 'v0.3.5'
20+
$ rustup run nightly-2025-05-09 cargo install --git https://github.com/nexus-xyz/nexus-zkvm cargo-nexus --tag 'v0.3.5'
2121
```
2222

2323
And verify the installation:
2424

2525
```shell
26-
$ rustup run nightly-2025-04-06 cargo nexus --help
26+
$ rustup run nightly-2025-05-09 cargo nexus --help
2727
```
2828

2929
This should print the available CLI commands. At present, the `cargo nexus` CLI is minimal, providing just a `cargo nexus host` command to setup an SDK based project.
@@ -33,7 +33,7 @@ This should print the available CLI commands. At present, the `cargo nexus` CLI
3333
To use the zkVM programmatically, we need two programs: a _guest_ program that runs on the zkVM, and a _host_ program that operates the zkVM itself. Run:
3434

3535
```shell
36-
$ rustup run nightly-2025-04-06 cargo nexus host nexus-host
36+
$ rustup run nightly-2025-05-09 cargo nexus host nexus-host
3737
```
3838

3939
This will create a new Rust project directory with the following structure:

0 commit comments

Comments
 (0)