lots of stuff

This commit is contained in:
Sebastian Moser
2024-09-16 12:32:57 +02:00
parent 6f30696487
commit 6d14736a02
9 changed files with 505 additions and 141 deletions

View File

@@ -1,6 +1,11 @@
#![ allow( warnings ) ]
#[no_mangle]
pub fn main() {
println!("hello from main fn");
}
static PROTO_VERSION: u8 = 1;
// the core part has the code that can run on any platform
@@ -43,6 +48,9 @@ pub mod platform {
#[cfg(feature = "os-target")]
pub use super::os::load_module;
#[cfg(feature = "wasm-target")]
pub use super::super::load_module;
#[cfg(not(any(feature = "os-target", feature = "wasm-target")))]
pub use super::super::load_module;