Skip to content

Commit 37a4098

Browse files
committed
fix: link wasm32 builtins
1 parent 935dab4 commit 37a4098

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/wasm_navdata_interface/.cargo/config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ rustflags = [
33
"-Clink-arg=--export-table",
44
"-Clink-arg=--export=malloc",
55
"-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"
68
]
79

810
[build]

0 commit comments

Comments
 (0)