Skip to content

Commit

Permalink
Fix emscripten tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Nov 17, 2021
1 parent 97cd27a commit af217f7
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/test/ui/cfg/cfg-target-family.rs
Expand Up @@ -4,13 +4,10 @@
// pretty-expanded FIXME #23616

#[cfg(target_family = "windows")]
pub fn main() {
}
pub fn main() {}

#[cfg(target_family = "unix")]
pub fn main() {
}
pub fn main() {}

#[cfg(target_family="wasm")]
pub fn main() {
}
#[cfg(all(target_family = "wasm", not(target_os = "emscripten")))]
pub fn main() {}

0 comments on commit af217f7

Please sign in to comment.