@@ -147,14 +147,22 @@ shards_to_test = expand_cxxstring_abis(expand_gfortran_versions(shards_to_test))
147
147
platforms_match (shard, Platform (" riscv64" , " linux" )))
148
148
# Rust is broken on 32-bit Windows and unavailable on FreeBSD AArch64 and Linux RISC-V, let's skip it
149
149
push! (products, ExecutableProduct (" hello_world_rust" , :hello_world_rust ))
150
- push! (products, ExecutableProduct (" hello_world_ocaml" , :hello_world_ocaml ))
151
150
end
152
151
153
152
compilers = [:c , :go ]
154
153
# Don't even ask for Rust on FreeBSD AArch64 and Linux RISC-V
155
154
if ! (platforms_match (shard, Platform (" aarch64" , " freebsd" )) ||
156
155
platforms_match (shard, Platform (" riscv64" , " linux" )))
157
156
push! (compilers, :rust )
157
+ end
158
+
159
+ # OCaml is not available on 32-bit platforms, and our shards aren't for FreeBSD
160
+ if ! (platforms_match (shard, Platform (" i686" , " windows" )) ||
161
+ platforms_match (shard, Platform (" i686" , " linux" )) ||
162
+ platforms_match (shard, Platform (" armv6l" , " linux" )) ||
163
+ platforms_match (shard, Platform (" armv7l" , " linux" )) ||
164
+ platforms_match (shard, Platform (" aarch64" , " freebsd" )))
165
+ push! (products, ExecutableProduct (" hello_world_ocaml" , :hello_world_ocaml ))
158
166
push! (compilers, :ocaml )
159
167
end
160
168
0 commit comments