Rollup merge of #95659 - anp:remove-link-print, r=tmandry

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

Closes #95575.
This commit is contained in:
Dylan DPC 2022-04-06 03:39:07 +02:00 committed by GitHub
commit 823bf7618a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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") {