summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-10-25 08:24:59 +0000
committerbors <bors@rust-lang.org>2022-10-25 08:24:59 +0000
commit3ee203bc63a3cce5620ae59a5556baae91080b9c (patch)
treea7ecac56bda49f3f4e7bb06294e325e37fe7a2eb
parent09ad0b37f3d9d9a12c6a86251cf0b3f035125bcd (diff)
parent8081c991813938d210a8eda4a32d245cf73e52a7 (diff)
downloadrust-libc-3ee203bc63a3cce5620ae59a5556baae91080b9c.tar.gz
Auto merge of #2980 - JohnTitor:ignore-res-init-macos, r=JohnTitor
Ignore `res_init` test on macOS This addresses the below failure: ``` = note: Undefined symbols for architecture x86_64: "_res_9_init", referenced from: main::fn_res_init::h8e336279ac8061c4 in main-00bd2ff8180a104c.3yxb2bpe56zwhp2u.rcgu.o ___test_fn_res_init in libmain.a(main.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) ``` Signed-off-by: Yuki Okushi <jtitor@2k36.org>
-rw-r--r--libc-test/build.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index d5bf3ea61b..c45cedf4a1 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -332,6 +332,9 @@ fn test_apple(target: &str) {
// close calls the close_nocancel system call
"close" => true,
+ // FIXME: libstd removed libresolv support: https://github.com/rust-lang/rust/pull/102766
+ "res_init" => true,
+
// FIXME: remove once the target in CI is updated
"pthread_jit_write_freeze_callbacks_np" => true,