File tree 3 files changed +11
-11
lines changed
rustc_codegen_gcc/example
library/std/src/sys/common
3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 13
13
14
14
// The minimum alignment guaranteed by the architecture. This value is used to
15
15
// add fast paths for low alignment values.
16
- #[ cfg( all ( any( target_arch = "x86" ,
16
+ #[ cfg( any( target_arch = "x86" ,
17
17
target_arch = "arm" ,
18
18
target_arch = "mips" ,
19
19
target_arch = "powerpc" ,
20
- target_arch = "powerpc64" ) ) ) ]
20
+ target_arch = "powerpc64" ) ) ]
21
21
const MIN_ALIGN : usize = 8 ;
22
- #[ cfg( all ( any( target_arch = "x86_64" ,
22
+ #[ cfg( any( target_arch = "x86_64" ,
23
23
target_arch = "aarch64" ,
24
24
target_arch = "mips64" ,
25
25
target_arch = "s390x" ,
26
- target_arch = "sparc64" ) ) ) ]
26
+ target_arch = "sparc64" ) ) ]
27
27
const MIN_ALIGN : usize = 16 ;
28
28
29
29
pub struct System ;
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ pub fn analyze_source_file(
41
41
}
42
42
43
43
cfg_if:: cfg_if! {
44
- if #[ cfg( all ( any( target_arch = "x86" , target_arch = "x86_64" ) ) ) ] {
44
+ if #[ cfg( any( target_arch = "x86" , target_arch = "x86_64" ) ) ] {
45
45
fn analyze_source_file_dispatch( src: & str ,
46
46
source_file_start_pos: BytePos ,
47
47
lines: & mut Vec <BytePos >,
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ use crate::ptr;
4
4
5
5
// The minimum alignment guaranteed by the architecture. This value is used to
6
6
// add fast paths for low alignment values.
7
- #[ cfg( all ( any(
7
+ #[ cfg( any(
8
8
target_arch = "x86" ,
9
9
target_arch = "arm" ,
10
10
target_arch = "mips" ,
@@ -16,23 +16,23 @@ use crate::ptr;
16
16
target_arch = "hexagon" ,
17
17
all( target_arch = "riscv32" , not( target_os = "espidf" ) ) ,
18
18
all( target_arch = "xtensa" , not( target_os = "espidf" ) ) ,
19
- ) ) ) ]
19
+ ) ) ]
20
20
pub const MIN_ALIGN : usize = 8 ;
21
- #[ cfg( all ( any(
21
+ #[ cfg( any(
22
22
target_arch = "x86_64" ,
23
23
target_arch = "aarch64" ,
24
24
target_arch = "mips64" ,
25
25
target_arch = "s390x" ,
26
26
target_arch = "sparc64" ,
27
27
target_arch = "riscv64" ,
28
28
target_arch = "wasm64" ,
29
- ) ) ) ]
29
+ ) ) ]
30
30
pub const MIN_ALIGN : usize = 16 ;
31
31
// The allocator on the esp-idf platform guarantees 4 byte alignment.
32
- #[ cfg( all ( any(
32
+ #[ cfg( any(
33
33
all( target_arch = "riscv32" , target_os = "espidf" ) ,
34
34
all( target_arch = "xtensa" , target_os = "espidf" ) ,
35
- ) ) ) ]
35
+ ) ) ]
36
36
pub const MIN_ALIGN : usize = 4 ;
37
37
38
38
pub unsafe fn realloc_fallback (
You can’t perform that action at this time.
0 commit comments