mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-12-03 07:47:05 +00:00
Implement NativeExecutor, which attempts a native execution and falls back on Wasm otherwise.
This commit is contained in:
1 parent
91c659fbc8
commit
1617900c1d
9 files changed
+16
-15
No files matched your search
@@ -135,7 +135,7 @@ macro_rules! impl_stubs {
|
||||
$crate::Vec::from_raw_parts(input_data, input_len, input_len)
|
||||
};
|
||||
|
||||
let output = super::$name(input);
|
||||
let output = super::$name(&input[..]);
|
||||
&output[0] as *const u8 as u64 + ((output.len() as u64) << 32)
|
||||
}
|
||||
)*
|
||||
|
||||
Reference in new issue
Block a user