mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-19 19:16:29 +08:00
15 lines
687 B
TOML
15 lines
687 B
TOML
[target.x86_64-pc-windows-msvc]
|
|
rustflags = ["-C", "target-feature=+crt-static"]
|
|
[target.aarch64-pc-windows-msvc]
|
|
rustflags = ["-C", "target-feature=+crt-static"]
|
|
[target.'cfg(target_os = "linux")']
|
|
rustflags = ["-C", "link-args=-Wl,--warn-unresolved-symbols"]
|
|
[target.'cfg(target_os = "macos")']
|
|
rustflags = ["-C", "link-args=-all_load"]
|
|
# https://sourceware.org/bugzilla/show_bug.cgi?id=21032
|
|
# https://sourceware.org/bugzilla/show_bug.cgi?id=21031
|
|
# https://github.com/rust-lang/rust/issues/134820
|
|
# pthread_key_create() destructors and segfault after a DSO unloading
|
|
[target.'cfg(all(target_env = "gnu", not(target_os = "windows")))']
|
|
rustflags = ["-C", "link-args=-Wl,-z,nodelete"]
|