()
| 403 | /// Return the expected number of bits for the target. |
| 404 | #[cfg(not(any(cpubits = "16", cpubits = "32", cpubits = "64")))] |
| 405 | fn expected_bits() -> u32 { |
| 406 | // Duplicated 64-bit override predicates need to go here |
| 407 | if cfg!(any( |
| 408 | // ARMv7 |
| 409 | all(target_arch = "arm", target_feature = "v7"), |
| 410 | // WASM |
| 411 | target_arch = "wasm32" |
| 412 | )) { |
| 413 | 64 |
| 414 | } else { |
| 415 | usize::BITS |
| 416 | } |
| 417 | } |
| 418 | |
| 419 | #[cfg(not(any(cpubits = "16", cpubits = "32", cpubits = "64")))] |
| 420 | #[test] |
no outgoing calls