diff --git a/src/librusti/rusti.rc b/src/librusti/rusti.rc index a67915fbc8516b491d860144a67c8f923ad4eb01..c618623a2cb7af8b00b84101746ce44868583cdd 100644 --- a/src/librusti/rusti.rc +++ b/src/librusti/rusti.rc @@ -538,8 +538,8 @@ mod tests { #[test] // FIXME: #7220 rusti on 32bit mac doesn't work. - #[cfg(not(and(target_word_size=32, - target_os="mac")))] + #[cfg(not(target_word_size="32", + target_os="macos"))] fn run_all() { // FIXME(#7071): // By default, unit tests are run in parallel. Rusti, on the other hand, @@ -652,8 +652,8 @@ mod tests { #[test] // FIXME: #7220 rusti on 32bit mac doesn't work. - #[cfg(not(and(target_word_size=32, - target_os="mac")))] + #[cfg(not(target_word_size="32", + target_os="macos"))] fn exit_quits() { let mut r = repl(); assert!(r.running);