From 92246c099e6e6d4c5e88e2ce14ccce0da42a3b68 Mon Sep 17 00:00:00 2001 From: Adam Perry Date: Mon, 4 Apr 2022 23:06:12 +0000 Subject: [PATCH] Rely on #[link] attribute for unwind on Fuchsia. Closes #95575. --- library/unwind/build.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/library/unwind/build.rs b/library/unwind/build.rs index a3f5224151d94..61d3f45ca6523 100644 --- a/library/unwind/build.rs +++ b/library/unwind/build.rs @@ -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") {