mirror of
https://github.com/fluencelabs/marine-rs-sdk-test
synced 2024-12-04 23:30:18 +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")]
|
||||
#[link(wasm_import_module = "host")]
|
||||
#[allow(improper_ctypes)]
|
||||
|
Loading…
Reference in New Issue
Block a user