mirror of
https://github.com/fluencelabs/marine-rs-sdk-test
synced 2024-12-04 23:30:18 +00:00
update
This commit is contained in:
parent
300318cc72
commit
a0e5438417
@ -32,3 +32,5 @@ debug = []
|
||||
|
||||
# Enable logger (this will cause log_utf8_string to appear in imports)
|
||||
logger = []
|
||||
|
||||
fce = []
|
||||
|
@ -40,7 +40,7 @@ impl CallParameters {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "used_in_sdk"))]
|
||||
#[cfg(target_arch = "wasm")]
|
||||
#[fce]
|
||||
#[link(wasm_import_module = "host")]
|
||||
#[allow(improper_ctypes)]
|
||||
|
@ -16,10 +16,10 @@
|
||||
|
||||
use crate::fce_ast_types;
|
||||
use crate::new_ident;
|
||||
use crate::parsed_type::*;
|
||||
|
||||
use proc_macro2::TokenStream;
|
||||
use quote::quote;
|
||||
use crate::parsed_type::*;
|
||||
|
||||
impl quote::ToTokens for fce_ast_types::AstExternModItem {
|
||||
fn to_tokens(&self, tokens: &mut TokenStream) {
|
||||
|
@ -72,6 +72,7 @@ extern crate fluence_sdk_main;
|
||||
|
||||
pub use fluence_sdk_macro::fce;
|
||||
pub use fluence_sdk_main::CallParameters;
|
||||
#[fce(target_arch = "wasm")]
|
||||
pub use fluence_sdk_main::get_call_parameters;
|
||||
#[cfg(feature = "logger")]
|
||||
pub use fluence_sdk_main::WasmLogger;
|
||||
|
Loading…
Reference in New Issue
Block a user