Skip to content

Commit 660509d

Browse files
committed
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.
1 parent a7fc463 commit 660509d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/ui/attributes/auxiliary/used_pre_main_constructor.rs

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
target_os = "netbsd",
2020
target_os = "nto",
2121
target_os = "openbsd",
22+
target_os = "fuchsia",
2223
),
2324
link_section = ".init_array"
2425
)]

0 commit comments

Comments
 (0)