Skip to content

Commit 3ee203b

Browse files
committed
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 <[email protected]>
2 parents 09ad0b3 + 8081c99 commit 3ee203b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libc-test/build.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,9 @@ fn test_apple(target: &str) {
332332
// close calls the close_nocancel system call
333333
"close" => true,
334334

335+
// FIXME: libstd removed libresolv support: https://github.com/rust-lang/rust/pull/102766
336+
"res_init" => true,
337+
335338
// FIXME: remove once the target in CI is updated
336339
"pthread_jit_write_freeze_callbacks_np" => true,
337340

0 commit comments

Comments
 (0)