generated from Azkellas/rust_wgpu_hot_reload
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8d78204
commit d00a61b
Showing
2 changed files
with
21 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |