Skip to content

Commit

Permalink
really last attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
pillowtrucker committed Jan 23, 2024
1 parent 8d78204 commit d00a61b
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
21 changes: 20 additions & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,26 @@
# Required to avoid a linker error on Windows when building the dylib.
[target.x86_64-pc-windows-msvc]
linker = "rust-lld.exe"

rustflags = ["-lntdll","-lucrtd"]
# Uncomment this to enable unstable APIs in web_sys when targetting wasm.
#[target.'cfg(target_family = "wasm")']
#rustflags = "--cfg=web_sys_unstable_apis"
[target.x86_64-unknown-linux-gnu]
rustflags = [
"-lstdc++"
]
[target.x86_64-apple-darwin]
rustflags = [
"-lstdc++",
"-lc++abi",
"-lc++"
]
linker = "rust-lld"

[target.aarch64-apple-darwin]
rustflags = [
"-lstdc++",
"-lc++abi",
"-lc++"
]
linker = "rust-lld"
2 changes: 1 addition & 1 deletion brainworms_farting_noises/libymfm.wasm

0 comments on commit d00a61b

Please sign in to comment.