Skip to content

Commit

Permalink
Only run test_extern_c_main on unix
Browse files Browse the repository at this point in the history
  • Loading branch information
fornwall committed Apr 14, 2023
1 parent 473092b commit cca9bdc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/tests/script.rs
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ fn test_same_flags() {
.unwrap()
}

#[cfg(unix)]
#[test]
fn test_extern_c_main() {
let out = rust_script!("tests/data/extern-c-main.rs").unwrap();
Expand Down

0 comments on commit cca9bdc

Please sign in to comment.