mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 22:35:24 +00:00
WASI has no dynamic linker
This commit is contained in:
parent
bafa895561
commit
2536e4c70c
@ -1207,6 +1207,31 @@ pub const Target = struct {
|
||||
=> return error.UnknownDynamicLinkerPath,
|
||||
},
|
||||
|
||||
.ananas,
|
||||
.cloudabi,
|
||||
.fuchsia,
|
||||
.kfreebsd,
|
||||
.lv2,
|
||||
.openbsd,
|
||||
.solaris,
|
||||
.haiku,
|
||||
.minix,
|
||||
.rtems,
|
||||
.nacl,
|
||||
.cnk,
|
||||
.aix,
|
||||
.cuda,
|
||||
.nvcl,
|
||||
.amdhsa,
|
||||
.ps4,
|
||||
.elfiamcu,
|
||||
.mesa3d,
|
||||
.contiki,
|
||||
.amdpal,
|
||||
.hermit,
|
||||
.hurd,
|
||||
=> return error.UnknownDynamicLinkerPath,
|
||||
|
||||
.freestanding,
|
||||
.ios,
|
||||
.tvos,
|
||||
@ -1216,9 +1241,8 @@ pub const Target = struct {
|
||||
.windows,
|
||||
.emscripten,
|
||||
.other,
|
||||
.wasi,
|
||||
=> return error.TargetHasNoDynamicLinker,
|
||||
|
||||
else => return error.UnknownDynamicLinkerPath,
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user