about summary refs log tree commit diff
path: root/src/libserialize
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-05-13 09:28:26 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-05-13 09:28:26 -0700
commitaf00c57379bcc323d76656cae970b5a1b503bcdb (patch)
treeb066f3dc85955f220341928b99b4c0813f9a2a8c /src/libserialize
parent04c23d3fc19fddb47faddccaaa2d75f06d8a49e5 (diff)
downloadrust-af00c57379bcc323d76656cae970b5a1b503bcdb.tar.gz
rust-af00c57379bcc323d76656cae970b5a1b503bcdb.zip
serialize: Broaden ignores of json tests
It was thought that these failures only happened on windows, turns out they
happen on any 32-bit machine.

cc #14064
Diffstat (limited to 'src/libserialize')
-rw-r--r--src/libserialize/json.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libserialize/json.rs b/src/libserialize/json.rs
index abc64fcde5f..bf04f10fcf0 100644
--- a/src/libserialize/json.rs
+++ b/src/libserialize/json.rs
@@ -3098,7 +3098,7 @@ mod tests {
         }
     }
     #[test]
-    #[ignore(cfg(windows))] // FIXME(#14064)
+    #[ignore(cfg(target_word_size = "32"))] // FIXME(#14064)
     fn test_read_object_streaming() {
         assert_eq!(last_event("{ "),      Error(SyntaxError(EOFWhileParsingObject, 1, 3)));
         assert_eq!(last_event("{1"),      Error(SyntaxError(KeyMustBeAString,      1, 2)));
@@ -3170,7 +3170,7 @@ mod tests {
         );
     }
     #[test]
-    #[ignore(cfg(windows))] // FIXME(#14064)
+    #[ignore(cfg(target_word_size = "32"))] // FIXME(#14064)
     fn test_read_list_streaming() {
         assert_stream_equal(
             "[]",