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
|
@ -31,7 +31,7 @@
|
|||
|
||||
#[macro_use]
|
||||
extern crate rustc_macros;
|
||||
#[cfg(all(any(target_arch = "x86_64", target_arch = "aarch64"), target_pointer_width = "64"))]
|
||||
#[cfg(target_pointer_width = "64")]
|
||||
#[macro_use]
|
||||
extern crate rustc_data_structures;
|
||||
#[macro_use]
|
||||
|
|
|
@ -72,7 +72,7 @@ pub struct PendingPredicateObligation<'tcx> {
|
|||
}
|
||||
|
||||
// `PendingPredicateObligation` is used a lot. Make sure it doesn't unintentionally get bigger.
|
||||
#[cfg(all(any(target_arch = "x86_64", target_arch = "aarch64"), target_pointer_width = "64"))]
|
||||
#[cfg(target_pointer_width = "64")]
|
||||
static_assert_size!(PendingPredicateObligation<'_>, 72);
|
||||
|
||||
impl<'tcx> FulfillmentContext<'tcx> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue