Rename target_word_size
to target_pointer_width
Closes #20421 [breaking-change]
This commit is contained in:
parent
9f1ead8fad
commit
dd3e89aaf2
36 changed files with 91 additions and 69 deletions
|
@ -3481,7 +3481,7 @@ mod tests {
|
|||
}
|
||||
}
|
||||
#[test]
|
||||
#[cfg_attr(target_word_size = "32", ignore)] // FIXME(#14064)
|
||||
#[cfg_attr(target_pointer_width = "32", ignore)] // FIXME(#14064)
|
||||
fn test_streaming_parser() {
|
||||
assert_stream_equal(
|
||||
r#"{ "foo":"bar", "array" : [0, 1, 2, 3, 4, 5], "idents":[null,true,false]}"#,
|
||||
|
@ -3520,7 +3520,7 @@ mod tests {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg_attr(target_word_size = "32", ignore)] // FIXME(#14064)
|
||||
#[cfg_attr(target_pointer_width = "32", ignore)] // 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)));
|
||||
|
@ -3604,7 +3604,7 @@ mod tests {
|
|||
);
|
||||
}
|
||||
#[test]
|
||||
#[cfg_attr(target_word_size = "32", ignore)] // FIXME(#14064)
|
||||
#[cfg_attr(target_pointer_width = "32", ignore)] // FIXME(#14064)
|
||||
fn test_read_array_streaming() {
|
||||
assert_stream_equal(
|
||||
"[]",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue