mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-29 03:04:38 +08:00
Merge pull request #4965 from youknowone/wasmuuid
Allow uuid on wasm32 and wasi
This commit is contained in:
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