Allow uuid on wasm32 and wasi

This commit is contained in:
Jeong YunWon committed 2023-05-12 01:42:20 +09:00
1 parent 833371918d
commit f12875027c
1 file changed
+2
Vendored
+2
View File
@@ -55,6 +55,8 @@ __author__ = 'Ka-Ping Yee <ping@zesty.ca>'
# The recognized platforms - known behaviors
if sys.platform in ('win32', 'darwin'):
_AIX = _LINUX = False
elif sys.platform in ('emscripten', 'wasi'): # XXX: RUSTPYTHON; patched to support those platforms
_AIX = _LINUX = False
else:
import platform
_platform_system = platform.system()