mirror of
https://github.com/NotAShelf/microfetch.git
synced 2026-06-17 17:36:55 +00:00
16 lines
640 B
TOML
16 lines
640 B
TOML
# Link the tier-1 Linux arches with the wild linker, driven by clang via the
|
|
# scripts/clang-wild wrapper.
|
|
#
|
|
# Binary-specific link flags live in microfetch/build.rs via cargo:rustc-link-arg-bin
|
|
# so they only affect the final binary and don't break proc-macro or build-script linking.
|
|
[target.'cfg(target_os = "linux")']
|
|
# Suppress .eh_frame emission from our own codegen.
|
|
rustflags = ["-C", "force-unwind-tables=no"]
|
|
|
|
[target.x86_64-unknown-linux-gnu]
|
|
linker = "scripts/clang-wild"
|
|
rustflags = ["-C", "force-unwind-tables=no"]
|
|
|
|
[target.aarch64-unknown-linux-gnu]
|
|
linker = "scripts/clang-wild"
|
|
rustflags = ["-C", "force-unwind-tables=no"]
|