wasm: force single threaded
This commit is contained in:
committed by
Andrew Kelley
parent
68d7e4a1b6
commit
0f1d92e2cf
@@ -1371,6 +1371,10 @@ bool target_is_wasm(const ZigTarget *target) {
|
||||
return target->arch == ZigLLVM_wasm32 || target->arch == ZigLLVM_wasm64;
|
||||
}
|
||||
|
||||
bool target_is_single_threaded(const ZigTarget *target) {
|
||||
return target_is_wasm(target);
|
||||
}
|
||||
|
||||
ZigLLVM_EnvironmentType target_default_abi(ZigLLVM_ArchType arch, Os os) {
|
||||
switch (os) {
|
||||
case OsFreestanding:
|
||||
|
||||
Reference in New Issue
Block a user