Skip to content

Commit

Permalink
Auto merge of #2980 - JohnTitor:ignore-res-init-macos, r=JohnTitor
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
bors committed Oct 25, 2022
2 parents 09ad0b3 + 8081c99 commit 3ee203b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libc-test/build.rs
Expand Up @@ -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,

Expand Down

0 comments on commit 3ee203b

Please sign in to comment.