Rely on #[link] attribute for unwind on Fuchsia.

Closes #95575.
This commit is contained in:
Adam Perry 2022-04-04 23:06:12 +00:00
parent 60e50fc1cf
commit 92246c099e

View File

@ -40,8 +40,6 @@ fn main() {
// This is handled in the target spec with late_link_args_[static|dynamic]
} else if target.contains("uwp-windows-gnu") {
println!("cargo:rustc-link-lib=unwind");
} else if target.contains("fuchsia") {
println!("cargo:rustc-link-lib=unwind");
} else if target.contains("haiku") {
println!("cargo:rustc-link-lib=gcc_s");
} else if target.contains("redox") {