Skip to content
This repository was archived by the owner on May 21, 2019. It is now read-only.

Commit 5c8f1b6

Browse files
committed
Rust: disable emutls on Windows
1 parent 96626ab commit 5c8f1b6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

make/platform/triple.mk

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ ifneq (,$(findstring mips,$(TargetTriple)))
6060
CommonDisabledFunctions := emutls
6161
endif
6262

63+
# Disable emutls on Windows
64+
# emutls works on POSIX only as it uses pthreads
65+
ifneq (,$(findstring windows,$(TargetTriple)))
66+
CommonDisabledFunctions := emutls
67+
endif
68+
6369
# Clear cache is builtin on aarch64-apple-ios
6470
# arm64 and aarch64 are synonims, but iOS targets usually use arm64 (history reasons)
6571
ifeq (aarch64-apple-ios,$(subst arm64,aarch64,$(TargetTriple)))

0 commit comments

Comments
 (0)