File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -2231,6 +2231,7 @@ fn test_linux(target: &str) {
2231
2231
let aarch64_musl = target. contains ( "aarch64" ) && musl;
2232
2232
let gnuabihf = target. contains ( "gnueabihf" ) ;
2233
2233
let x86_64_gnux32 = target. contains ( "gnux32" ) && x86_64;
2234
+ let riscv64 = target. contains ( "riscv64" ) ;
2234
2235
2235
2236
let mut cfg = ctest_cfg ( ) ;
2236
2237
cfg. define ( "_GNU_SOURCE" , None ) ;
@@ -2657,7 +2658,7 @@ fn test_linux(target: &str) {
2657
2658
( struct_ == "timex" && field. starts_with ( "__unused" ) ) ||
2658
2659
// FIXME: It now takes mode_t since glibc 2.31 on some targets.
2659
2660
( struct_ == "ipc_perm" && field == "mode"
2660
- && ( ( x86_64 || i686 || arm) && gnu || x86_64_gnux32)
2661
+ && ( ( x86_64 || i686 || arm || riscv64 ) && gnu || x86_64_gnux32)
2661
2662
)
2662
2663
} ) ;
2663
2664
You can’t perform that action at this time.
0 commit comments