mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-14 22:57:06 +00:00
Fix wasm build (#102)
* Reserve pages for heap at initialization time Since it is freshly allocated memory it won't collide with stack, data or whatever else. * Compile all wasm files with LTO. Modules compiled without LTO contain undesired imports and outright invalid (e.g. type mismatches inside the wasm).
This commit is contained in:
1 parent
ad552cba4b
commit
96fb93b09c
13 files changed
+25
-8
No files matched your search
@@ -28,6 +28,7 @@ std = [
|
||||
|
||||
[profile.release]
|
||||
panic = "abort"
|
||||
lto = true
|
||||
|
||||
[workspace]
|
||||
members = []
|
||||
BIN
Binary file not shown.
Regular → Executable
BIN
Binary file not shown.
Reference in new issue
Block a user