File tree Expand file tree Collapse file tree 5 files changed +894
-4
lines changed
src/unix/linux_like/linux Expand file tree Collapse file tree 5 files changed +894
-4
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ macro_rules! expand_align {
8
8
target_arch = "s390x" ,
9
9
target_arch = "sparc64" ,
10
10
target_arch = "aarch64" ,
11
- target_arch = "riscv64" ) ,
11
+ target_arch = "riscv64" ,
12
+ target_arch = "riscv32" ) ,
12
13
repr( align( 4 ) ) ) ]
13
14
#[ cfg_attr( not( any( target_pointer_width = "32" ,
14
15
target_arch = "x86_64" ,
@@ -17,7 +18,8 @@ macro_rules! expand_align {
17
18
target_arch = "s390x" ,
18
19
target_arch = "sparc64" ,
19
20
target_arch = "aarch64" ,
20
- target_arch = "riscv64" ) ) ,
21
+ target_arch = "riscv64" ,
22
+ target_arch = "riscv32" ) ) ,
21
23
repr( align( 8 ) ) ) ]
22
24
pub struct pthread_mutexattr_t {
23
25
#[ doc( hidden) ]
Original file line number Diff line number Diff line change @@ -278,6 +278,9 @@ cfg_if! {
278
278
} else if #[ cfg( target_arch = "sparc" ) ] {
279
279
mod sparc;
280
280
pub use self :: sparc:: * ;
281
+ } else if #[ cfg( any( target_arch = "riscv32" ) ) ] {
282
+ mod riscv32;
283
+ pub use self :: riscv32:: * ;
281
284
} else {
282
285
// Unknown target_arch
283
286
}
You can’t perform that action at this time.
0 commit comments