Simplify static_assert_size
s.
We want to run them on all 64-bit platforms.
This commit is contained in:
parent
1cec373f65
commit
0d97669a17
36 changed files with 45 additions and 43 deletions
|
@ -1087,7 +1087,7 @@ fn unescape_string(string: &str) -> Option<string::String> {
|
|||
}
|
||||
|
||||
// Assert a reasonable size for `Piece`
|
||||
#[cfg(all(any(target_arch = "x86_64", target_arch = "aarch64"), target_pointer_width = "64"))]
|
||||
#[cfg(target_pointer_width = "64")]
|
||||
rustc_index::static_assert_size!(Piece<'_>, 16);
|
||||
|
||||
#[cfg(test)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue