Skip to content

Commit

Permalink
restore no_std
Browse files Browse the repository at this point in the history
  • Loading branch information
tess-eract committed May 3, 2024
1 parent 605c959 commit 215176a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions basic/src/bin/valida.rs
Original file line number Diff line number Diff line change
Expand Up @@ -435,9 +435,9 @@ fn main() {
Ok(_) => {
stdout().write("Proof verified\n".as_bytes()).unwrap();
}
Err(e) => {
Err(_) => {
stdout()
.write("Proof verification failed: \n".as_bytes())
.write("Proof verification failed\n".as_bytes())
.unwrap();
}
}
Expand Down
2 changes: 2 additions & 0 deletions cpu/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![no_std]

extern crate alloc;

use crate::columns::{CpuCols, CPU_COL_MAP, NUM_CPU_COLS};
Expand Down
1 change: 0 additions & 1 deletion cpu/src/stark.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
use crate::columns::{CpuCols, NUM_CPU_COLS};
use crate::CpuChip;
use core::borrow::Borrow;

use valida_machine::Word;

use p3_air::{Air, AirBuilder, BaseAir};
Expand Down

0 comments on commit 215176a

Please sign in to comment.