Skip to content

Commit

Permalink
Try #2140:
Browse files Browse the repository at this point in the history
  • Loading branch information
bors[bot] authored Feb 25, 2021
2 parents d1bd9ea + 859601c commit 3196ff9
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@

[target.'cfg(target_os = "linux")']
rustflags = [
"-C", "link-arg=-Wl,-E"
# Put the VM functions in the dynamic symbol table.
"-C", "link-arg=-Wl,-E",
]

[target.'cfg(target_os = "windows")']
rustflags = [
# Enable `libwasmer` to be statically linked against the C Runtime
# Libraries (CRT) to reduce the number of dependencies inside the
# DLL.
"-C", "target-feature=+crt-static",
]

0 comments on commit 3196ff9

Please sign in to comment.