Skip to content

Commit

Permalink
rm need for zkvm io 🎉
Browse files Browse the repository at this point in the history
  • Loading branch information
zobront committed Jun 27, 2024
1 parent 66e0c8e commit cecb8e8
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 31 deletions.
5 changes: 1 addition & 4 deletions crates/common/src/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ cfg_if! {
} else if #[cfg(target_arch = "riscv64")] {
#[doc = "Concrete implementation of the [BasicKernelInterface] trait for the `riscv64` target architecture."]
pub type ClientIO = crate::asterisc::io::AsteriscIO;
} else if #[cfg(target_os = "zkvm")] {
#[doc = "Concrete implementation of the [BasicKernelInterface] trait for the `zkvm` target architecture."]
pub type ClientIO = crate::zkvm::io::ZkvmIO;
} else {
#[doc = "Concrete implementation of the [BasicKernelInterface] trait for the `native` target architecture."]
pub type ClientIO = native_io::NativeIO;
Expand Down Expand Up @@ -57,7 +54,7 @@ pub fn exit(code: usize) -> ! {
ClientIO::exit(code)
}

#[cfg(not(any(target_arch = "mips", target_arch = "riscv64", target_os = "zkvm")))]
#[cfg(not(any(target_arch = "mips", target_arch = "riscv64")))]
mod native_io {
extern crate std;

Expand Down
3 changes: 0 additions & 3 deletions crates/common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,3 @@ pub(crate) mod cannon;

#[cfg(target_arch = "riscv64")]
pub(crate) mod asterisc;

#[cfg(target_os = "zkvm")]
pub(crate) mod zkvm;
20 changes: 0 additions & 20 deletions crates/common/src/zkvm/io.rs

This file was deleted.

4 changes: 0 additions & 4 deletions crates/common/src/zkvm/mod.rs

This file was deleted.

0 comments on commit cecb8e8

Please sign in to comment.