File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -114,14 +114,17 @@ shards_to_test = expand_cxxstring_abis(expand_gfortran_versions(shards_to_test))
114
114
]
115
115
116
116
if ! (platforms_match (shard, Platform (" i686" , " windows" )) ||
117
- platforms_match (shard, Platform (" aarch64" , " freebsd" )))
118
- # Rust is broken on 32-bit Windows and unavailable on FreeBSD AArch64, let's skip it
117
+ platforms_match (shard, Platform (" aarch64" , " freebsd" )) ||
118
+ platforms_match (shard, Platform (" riscv64" , " linux" )))
119
+ # Rust is broken on 32-bit Windows and unavailable on FreeBSD AArch64 and RISC-V, let's skip it
119
120
push! (products, ExecutableProduct (" hello_world_rust" , :hello_world_rust ))
120
121
end
121
122
122
123
compilers = [:c , :go ]
123
- # Don't even ask for Rust on FreeBSD AArch64
124
- if ! platforms_match (shard, Platform (" aarch64" , " freebsd" ))
124
+ # Don't even ask for Rust on FreeBSD AArch64 or RISC-V
125
+ if ! (platforms_match (shard, Platform (" aarch64" , " freebsd" )) ||
126
+ platforms_match (shard, Platform (" riscv64" , " linux" ))
127
+ )
125
128
push! (compilers, :rust )
126
129
end
127
130
You can’t perform that action at this time.
0 commit comments