mirror of
https://github.com/fluencelabs/marine-rs-sdk-test
synced 2025-04-25 15:32:16 +00:00
return default CallParamenters for native
This commit is contained in:
parent
455ab15930
commit
0cef5899fe
@ -64,6 +64,13 @@ pub fn get_call_parameters() -> CallParameters {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(not(target_arch = "wasm32"))]
|
||||||
|
pub fn get_call_parameters() -> CallParameters {
|
||||||
|
// return the default call parameters to allow compilation to native
|
||||||
|
// that needed for cargo test
|
||||||
|
<_>::default()
|
||||||
|
}
|
||||||
|
|
||||||
#[cfg(target_arch = "wasm32")]
|
#[cfg(target_arch = "wasm32")]
|
||||||
#[link(wasm_import_module = "host")]
|
#[link(wasm_import_module = "host")]
|
||||||
#[allow(improper_ctypes)]
|
#[allow(improper_ctypes)]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user