Skip to content

Commit 2161803

Browse files
committed
Fix gnu_no_dash_dash
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
1 parent 2e917e7 commit 2161803

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,8 @@ fn gnu_static() {
405405
}
406406

407407
#[test]
408+
// on macOS, cc/gcc is link to apple clang
409+
#[cfg_attr(target_os = "macos", ignore)]
408410
fn gnu_no_dash_dash() {
409411
let test = Test::gnu();
410412
test.gcc().file("foo.c").compile("foo");

0 commit comments

Comments
 (0)