Skip to content

Commit 4447953

Browse files
authored
Rollup merge of #138751 - Jeff-A-Martin:used-with-archive-test-fuchsia, r=jieyouxu
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.
2 parents 828f33c + 660509d commit 4447953

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)