Skip to content

Commit

Permalink
Merge branch 'dev' into yuwen/clean-disk-space
Browse files Browse the repository at this point in the history
  • Loading branch information
yuwen01 authored Nov 20, 2024
2 parents d58efea + 37629f6 commit 7d87e9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/sdk/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ impl ProverClient {
"mock" => Self { prover: Box::new(MockProver::new()) },
"local" => {
#[cfg(debug_assertions)]
println!("Warning: Local prover in dev mode is not recommended. Proof generation may be slow.");
eprintln!("Warning: Local prover in dev mode is not recommended. Proof generation may be slow.");
Self {
#[cfg(not(feature = "cuda"))]
prover: Box::new(CpuProver::new()),
Expand Down
2 changes: 1 addition & 1 deletion crates/zkvm/entrypoint/src/syscalls/sys.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ static SYS_RAND_WARNING: std::sync::Once = std::sync::Once::new();
#[no_mangle]
pub unsafe extern "C" fn sys_rand(recv_buf: *mut u8, words: usize) {
SYS_RAND_WARNING.call_once(|| {
println!("WARNING: Using insecure random number generator.");
eprintln!("WARNING: Using insecure random number generator.");
});
let mut rng = RNG.lock().unwrap();
for i in 0..words {
Expand Down

0 comments on commit 7d87e9b

Please sign in to comment.