numbat_wasm_node/lib.rs
1#![no_std]
2#![feature(new_uninit)]
3
4pub mod api;
5pub mod error_hook;
6
7#[macro_use]
8extern crate alloc;
9pub use alloc::boxed::Box;
10pub use alloc::string::String;
11pub use alloc::vec::Vec;
12
13/// The reference to the API implementation based on Andes hooks.
14/// It continas no data, can be embedded at no cost.
15/// Cloning it is a no-op.
16pub struct AndesApiImpl {}
17
18/// Should be no-op. The API implementation is zero-sized.
19impl Clone for AndesApiImpl {
20 #[inline]
21 fn clone(&self) -> Self {
22 AndesApiImpl {}
23 }
24}