Skip to content

Commit

Permalink
fix: sdk examples compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
leruaa committed Nov 12, 2024
1 parent ae97599 commit 7162264
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/sdk/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ impl ProverClient {
/// use sp1_sdk::{ProverClient, SP1Context, SP1Stdin};
///
/// // Load the program.
/// let elf = include_bytes!("../../../examples/fibonacci/program/elf/riscv32im-succinct-zkvm-elf");
/// let elf = test_artifact::FIBONACCI_ELF;
///

Check failure on line 181 in crates/sdk/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test (ARM)

failed to resolve: use of undeclared crate or module `test_artifact`

Check failure on line 181 in crates/sdk/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test (x86-64)

failed to resolve: use of undeclared crate or module `test_artifact`
/// // Initialize the prover client.
/// let client = ProverClient::new();
Expand Down Expand Up @@ -207,7 +207,7 @@ impl ProverClient {
/// use sp1_sdk::{ProverClient, SP1Context, SP1Stdin};
///
/// // Load the program.
/// let elf = include_bytes!("../../../examples/fibonacci/program/elf/riscv32im-succinct-zkvm-elf");
/// let elf = test_artifact::FIBONACCI_ELF;
///

Check failure on line 211 in crates/sdk/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test (ARM)

failed to resolve: use of undeclared crate or module `test_artifact`

Check failure on line 211 in crates/sdk/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test (x86-64)

failed to resolve: use of undeclared crate or module `test_artifact`
/// // Initialize the prover client.
/// let client = ProverClient::new();
Expand All @@ -233,7 +233,7 @@ impl ProverClient {
/// ```no_run
/// use sp1_sdk::{ProverClient, SP1Stdin};
///
/// let elf = include_bytes!("../../../examples/fibonacci/program/elf/riscv32im-succinct-zkvm-elf");
/// let elf = test_artifact::FIBONACCI_ELF;
/// let client = ProverClient::new();

Check failure on line 237 in crates/sdk/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test (ARM)

failed to resolve: use of undeclared crate or module `test_artifact`

Check failure on line 237 in crates/sdk/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test (x86-64)

failed to resolve: use of undeclared crate or module `test_artifact`
/// let (pk, vk) = client.setup(elf);
/// let mut stdin = SP1Stdin::new();
Expand Down Expand Up @@ -266,7 +266,7 @@ impl ProverClient {
/// ```no_run
/// use sp1_sdk::{ProverClient, SP1Stdin};
///
/// let elf = include_bytes!("../../../examples/fibonacci/program/elf/riscv32im-succinct-zkvm-elf");
/// let elf = test_artifact::FIBONACCI_ELF;
/// let client = ProverClient::new();

Check failure on line 270 in crates/sdk/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test (ARM)

failed to resolve: use of undeclared crate or module `test_artifact`

Check failure on line 270 in crates/sdk/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test (x86-64)

failed to resolve: use of undeclared crate or module `test_artifact`
/// let mut stdin = SP1Stdin::new();
/// stdin.write(&10usize);
Expand Down

0 comments on commit 7162264

Please sign in to comment.