Skip to content

Commit

Permalink
chore: update cargo config
Browse files Browse the repository at this point in the history
  • Loading branch information
jefersondaniel committed Jan 7, 2024
1 parent c851400 commit 7c64ba2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/native/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[target.wasm32-unknown-emscripten]
rustflags = [
"-Clink-arg=-sSIDE_MODULE=2", # build a side module that Godot can load
"-Clink-native-libraries=no", # workaround for a wasm-ld error during linking
"-Zlink-native-libraries=no", # workaround for a wasm-ld error during linking
"-Cpanic=abort", # workaround for a runtime error related to dyncalls
]

0 comments on commit 7c64ba2

Please sign in to comment.