about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTshepang Mbambo <tshepang@gmail.com>2025-02-28 16:10:14 +0200
committerTshepang Mbambo <tshepang@gmail.com>2025-02-28 16:10:41 +0200
commitf8091c49ffc2bccce89972b0b4058b92a62ee260 (patch)
tree7d9a7ffa646b3fc128f8dfec973b1bedc670ba23
parente66bf08f93de71125765d0e7e1a5f5d1550406ea (diff)
downloadrust-f8091c49ffc2bccce89972b0b4058b92a62ee260.tar.gz
rust-f8091c49ffc2bccce89972b0b4058b92a62ee260.zip
qnx: avoid test failure
Fixes tests/ui/attributes/used_with_archive.rs fail
-rw-r--r--tests/ui/attributes/auxiliary/used_pre_main_constructor.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/attributes/auxiliary/used_pre_main_constructor.rs b/tests/ui/attributes/auxiliary/used_pre_main_constructor.rs
index 192594d2d10..d94572ef5d6 100644
--- a/tests/ui/attributes/auxiliary/used_pre_main_constructor.rs
+++ b/tests/ui/attributes/auxiliary/used_pre_main_constructor.rs
@@ -17,6 +17,7 @@
         target_os = "illumos",
         target_os = "linux",
         target_os = "netbsd",
+        target_os = "nto",
         target_os = "openbsd",
     ),
     link_section = ".init_array"