mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Allow uuid on wasm32 and wasi
This commit is contained in:
1 parent
833371918d
commit
f12875027c
1 file changed
+2
Vendored
+2
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user