mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Fix the "used_with_archive" test on Fuchsia
This change adds Fuchsia OS as a target to the cfg_attr in the pre_main_constructor external declaration. This allows the "tests/ui/attributes/used_with_archive.rs" to pass against Fuchsia.
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
target_os = "netbsd",
|
||||
target_os = "nto",
|
||||
target_os = "openbsd",
|
||||
target_os = "fuchsia",
|
||||
),
|
||||
link_section = ".init_array"
|
||||
)]
|
||||
|
||||
Reference in New Issue
Block a user