diff options
| author | Henry Gressmann <mail@henrygressmann.de> | 2023-11-28 20:16:08 +0100 |
|---|---|---|
| committer | Henry Gressmann <mail@henrygressmann.de> | 2023-11-28 20:16:08 +0100 |
| commit | f26d077b5a8141253f807ea14551852da6842dd1 (patch) | |
| tree | cc13a6e5620706a2a71143f19512b39c5449cc63 /crates/core/src/lib.rs | |
| parent | fe76d91f33b2441de87597ae5885ea9005f35b1c (diff) | |
chore: add wasm spec testsuite
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Diffstat (limited to 'crates/core/src/lib.rs')
| -rw-r--r-- | crates/core/src/lib.rs | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/crates/core/src/lib.rs b/crates/core/src/lib.rs deleted file mode 100644 index 3d572a2..0000000 --- a/crates/core/src/lib.rs +++ /dev/null @@ -1,33 +0,0 @@ -#![no_std] -#![forbid(unsafe_code)] -#![cfg_attr(not(feature = "std"), feature(error_in_core))] - -mod std; -extern crate alloc; - -mod error; -pub mod instructions; -pub mod module; -pub use error::*; -pub use module::Module; - -pub struct Store {} - -pub struct Instance {} - -#[cfg(test)] -mod tests { - use super::*; - use crate::{error::Result, Module}; - use std::dbg; - - #[test] - fn it_works() -> Result<()> { - let wasm = include_bytes!("../../../examples/wasm/helloworld.wasm"); - let module = Module::new(wasm)?; - - dbg!(module); - - Ok(()) - } -} |
