Remove more redundant all
s
This commit is contained in:
parent
c256bd2908
commit
2ab3f76442
@ -13,17 +13,17 @@
|
|||||||
|
|
||||||
// The minimum alignment guaranteed by the architecture. This value is used to
|
// The minimum alignment guaranteed by the architecture. This value is used to
|
||||||
// add fast paths for low alignment values.
|
// add fast paths for low alignment values.
|
||||||
#[cfg(all(any(target_arch = "x86",
|
#[cfg(any(target_arch = "x86",
|
||||||
target_arch = "arm",
|
target_arch = "arm",
|
||||||
target_arch = "mips",
|
target_arch = "mips",
|
||||||
target_arch = "powerpc",
|
target_arch = "powerpc",
|
||||||
target_arch = "powerpc64")))]
|
target_arch = "powerpc64"))]
|
||||||
const MIN_ALIGN: usize = 8;
|
const MIN_ALIGN: usize = 8;
|
||||||
#[cfg(all(any(target_arch = "x86_64",
|
#[cfg(any(target_arch = "x86_64",
|
||||||
target_arch = "aarch64",
|
target_arch = "aarch64",
|
||||||
target_arch = "mips64",
|
target_arch = "mips64",
|
||||||
target_arch = "s390x",
|
target_arch = "s390x",
|
||||||
target_arch = "sparc64")))]
|
target_arch = "sparc64"))]
|
||||||
const MIN_ALIGN: usize = 16;
|
const MIN_ALIGN: usize = 16;
|
||||||
|
|
||||||
pub struct System;
|
pub struct System;
|
||||||
|
@ -41,7 +41,7 @@ pub fn analyze_source_file(
|
|||||||
}
|
}
|
||||||
|
|
||||||
cfg_if::cfg_if! {
|
cfg_if::cfg_if! {
|
||||||
if #[cfg(all(any(target_arch = "x86", target_arch = "x86_64")))] {
|
if #[cfg(any(target_arch = "x86", target_arch = "x86_64"))] {
|
||||||
fn analyze_source_file_dispatch(src: &str,
|
fn analyze_source_file_dispatch(src: &str,
|
||||||
source_file_start_pos: BytePos,
|
source_file_start_pos: BytePos,
|
||||||
lines: &mut Vec<BytePos>,
|
lines: &mut Vec<BytePos>,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user