mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
parent
ae86c0f529
commit
e6b4e1a5d0
1 changed files with 4 additions and 0 deletions
|
|
@ -370,6 +370,10 @@ fn addFromDirInner(
|
|||
const resolved_target = b.resolveTargetQuery(target_query);
|
||||
const target = &resolved_target.result;
|
||||
for (backends) |backend| {
|
||||
if (backend == .selfhosted and target.cpu.arch == .wasm32) {
|
||||
// https://github.com/ziglang/zig/issues/25684
|
||||
continue;
|
||||
}
|
||||
if (backend == .selfhosted and
|
||||
target.cpu.arch != .aarch64 and target.cpu.arch != .wasm32 and target.cpu.arch != .x86_64 and target.cpu.arch != .spirv64)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue