added hello-world wasm example and npmPackage nix derivation

This commit is contained in:
Sebastian Moser
2024-05-23 00:24:09 +02:00
parent a16c2f9221
commit 7944fd3f7f
4 changed files with 69 additions and 6 deletions

View File

@@ -3,6 +3,8 @@
static PROTO_VERSION: u8 = 1;
// the core part houses the code that can run on any platform
/*
pub mod core {
pub mod memstore;
pub mod instance;
@@ -14,7 +16,12 @@ pub mod core {
}
pub use core::*;
// */
pub mod platform {
#[cfg(feature = "wasm-target")]
pub mod wasm;
}