File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
src/unix/linux_like/linux Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -7,15 +7,17 @@ macro_rules! expand_align {
7
7
target_arch = "mips64" ,
8
8
target_arch = "s390x" ,
9
9
target_arch = "sparc64" ,
10
- target_arch = "aarch64" ) ,
10
+ target_arch = "aarch64" ,
11
+ target_arch = "riscv64" ) ,
11
12
repr( align( 4 ) ) ) ]
12
13
#[ cfg_attr( not( any( target_pointer_width = "32" ,
13
14
target_arch = "x86_64" ,
14
15
target_arch = "powerpc64" ,
15
16
target_arch = "mips64" ,
16
17
target_arch = "s390x" ,
17
18
target_arch = "sparc64" ,
18
- target_arch = "aarch64" ) ) ,
19
+ target_arch = "aarch64" ,
20
+ target_arch = "riscv64" ) ) ,
19
21
repr( align( 8 ) ) ) ]
20
22
pub struct pthread_mutexattr_t {
21
23
#[ doc( hidden) ]
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ macro_rules! expand_align {
7
7
target_arch = "mips64" ,
8
8
target_arch = "s390x" ,
9
9
target_arch = "sparc64" ,
10
+ target_arch = "riscv64" ,
10
11
all( target_arch = "aarch64" ,
11
12
target_env = "musl" ) ) ) ]
12
13
__align: [ :: c_int; 0 ] ,
@@ -15,6 +16,7 @@ macro_rules! expand_align {
15
16
target_arch = "mips64" ,
16
17
target_arch = "s390x" ,
17
18
target_arch = "sparc64" ,
19
+ target_arch = "riscv64" ,
18
20
all( target_arch = "aarch64" ,
19
21
target_env = "musl" ) ) ) ) ]
20
22
__align: [ :: c_long; 0 ] ,
You can’t perform that action at this time.
0 commit comments