-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: bump build image and rust version, include memory features (#4)
* chore: bump build image and rust version * chore: bump versions again * fix: use proper rustflags to include memory allocation info * chore: bump versions, update config.toml * fix: expose `commit_pages` to test * fix: `commit_pages` in the `wasm_snapshot_preview1` namespace
- Loading branch information
1 parent
4388d15
commit 0bd26e3
Showing
5 changed files
with
23 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,24 @@ | ||
[target.wasm32-wasi] | ||
rustflags = [ | ||
"-Ctarget-feature=-crt-static,+bulk-memory", | ||
"-Clink-self-contained=no", | ||
"-Clink-arg=-l", | ||
"-Clink-arg=c", | ||
"-Clink-arg=/workdir/MSFS_SDK/WASM/wasi-sysroot/lib/wasm32-wasi/libclang_rt.builtins-wasm32.a", | ||
"-Clink-arg=-L", | ||
"-Clink-arg=/workdir/MSFS_SDK/WASM/wasi-sysroot/lib/wasm32-wasi", | ||
"-Clink-arg=--export-table", | ||
"-Clink-arg=--allow-undefined", | ||
"-Clink-arg=--export-dynamic", | ||
"-Clink-arg=--export=__wasm_call_ctors", | ||
"-Clink-arg=--export=malloc", | ||
"-Clink-arg=--export=free", | ||
"-Clink-arg=-L/usr/lib/llvm-15/lib/clang/15.0.7/lib/wasi", | ||
"-Clink-arg=-lclang_rt.builtins-wasm32" | ||
"-Clink-arg=--export=mark_decommit_pages", | ||
"-Clink-arg=--export=mallinfo", | ||
"-Clink-arg=--export=mchunkit_begin", | ||
"-Clink-arg=--export=mchunkit_next", | ||
"-Clink-arg=--export=get_pages_state", | ||
] | ||
|
||
[build] | ||
target = "wasm32-wasi" | ||
target = "wasm32-wasi" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[toolchain] | ||
profile = "default" | ||
channel = "1.72.1" | ||
channel = "1.79.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters