File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change 1
1
[target .wasm32-wasi ]
2
2
rustflags = [
3
+ " -Ctarget-feature=-crt-static,+bulk-memory" ,
4
+ " -Clink-self-contained=no" ,
5
+ " -Clink-arg=-l" ,
6
+ " -Clink-arg=c" ,
7
+ " -Clink-arg=/workdir/MSFS_SDK/WASM/wasi-sysroot/lib/wasm32-wasi/libclang_rt.builtins-wasm32.a" ,
8
+ " -Clink-arg=-L" ,
9
+ " -Clink-arg=/workdir/MSFS_SDK/WASM/wasi-sysroot/lib/wasm32-wasi" ,
3
10
" -Clink-arg=--export-table" ,
11
+ " -Clink-arg=--allow-undefined" ,
12
+ " -Clink-arg=--export-dynamic" ,
13
+ " -Clink-arg=--export=__wasm_call_ctors" ,
4
14
" -Clink-arg=--export=malloc" ,
5
15
" -Clink-arg=--export=free" ,
6
- " -Clink-arg=-L/usr/lib/llvm-15/lib/clang/15.0.7/lib/wasi" ,
7
- " -Clink-arg=-lclang_rt.builtins-wasm32" ,
16
+ " -Clink-arg=--export=mark_decommit_pages" ,
17
+ " -Clink-arg=--export=mallinfo" ,
18
+ " -Clink-arg=--export=mchunkit_begin" ,
19
+ " -Clink-arg=--export=mchunkit_next" ,
20
+ " -Clink-arg=--export=get_pages_state" ,
8
21
]
9
22
10
23
[build ]
You can’t perform that action at this time.
0 commit comments