Skip to content

Commit 698134c

Browse files
authored
Merge pull request #4965 from youknowone/wasmuuid
Allow uuid on wasm32 and wasi
2 parents 8333719 + f128750 commit 698134c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/uuid.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@
5555
# The recognized platforms - known behaviors
5656
if sys.platform in ('win32', 'darwin'):
5757
_AIX = _LINUX = False
58+
elif sys.platform in ('emscripten', 'wasi'): # XXX: RUSTPYTHON; patched to support those platforms
59+
_AIX = _LINUX = False
5860
else:
5961
import platform
6062
_platform_system = platform.system()

0 commit comments

Comments
 (0)