diff options
| author | Chris Denton <christophersdenton@gmail.com> | 2022-11-26 09:54:54 +0000 |
|---|---|---|
| committer | Chris Denton <christophersdenton@gmail.com> | 2022-11-26 09:54:54 +0000 |
| commit | 2ab3f76442f1acdf8c8229164f27b66b1a822993 (patch) | |
| tree | e625caeb12aa8cf557038ea7b636a5bf15986875 /compiler/rustc_codegen_gcc | |
| parent | c256bd29087ae9403064d7fd8aa8178570b0de80 (diff) | |
| download | rust-2ab3f76442f1acdf8c8229164f27b66b1a822993.tar.gz rust-2ab3f76442f1acdf8c8229164f27b66b1a822993.zip | |
Remove more redundant `all`s
Diffstat (limited to 'compiler/rustc_codegen_gcc')
| -rw-r--r-- | compiler/rustc_codegen_gcc/example/alloc_system.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/rustc_codegen_gcc/example/alloc_system.rs b/compiler/rustc_codegen_gcc/example/alloc_system.rs index 89661918d05..fd01fcf1fc8 100644 --- a/compiler/rustc_codegen_gcc/example/alloc_system.rs +++ b/compiler/rustc_codegen_gcc/example/alloc_system.rs @@ -13,17 +13,17 @@ // The minimum alignment guaranteed by the architecture. This value is used to // add fast paths for low alignment values. -#[cfg(all(any(target_arch = "x86", +#[cfg(any(target_arch = "x86", target_arch = "arm", target_arch = "mips", target_arch = "powerpc", - target_arch = "powerpc64")))] + target_arch = "powerpc64"))] const MIN_ALIGN: usize = 8; -#[cfg(all(any(target_arch = "x86_64", +#[cfg(any(target_arch = "x86_64", target_arch = "aarch64", target_arch = "mips64", target_arch = "s390x", - target_arch = "sparc64")))] + target_arch = "sparc64"))] const MIN_ALIGN: usize = 16; pub struct System; |
