Skip to content

Commit

Permalink
chore: adapt rust build to SU15
Browse files Browse the repository at this point in the history
FBW PR 8627
  • Loading branch information
Revyn112 committed Jun 23, 2024
1 parent cdc2d56 commit 73341d3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,19 @@ git-fetch-with-cli = true

[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=--export=mark_decommit_pages",
"-Clink-arg=--export=mallinfo",
"-Clink-arg=--export=mchunkit_begin",
"-Clink-arg=--export=mchunkit_next",
"-Clink-arg=--export=get_pages_state"
]
2 changes: 1 addition & 1 deletion flybywire

0 comments on commit 73341d3

Please sign in to comment.