microfetch/.cargo/config.toml
2026-06-16 00:15:10 -04:00

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"]