mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-29 11:14:38 +08:00
Merge pull request #4576 from jhowww/sys-platform-wasi
add wasm32-wasi as wasi in sys.platform
This commit is contained in:
1 file changed
+2
@@ -60,6 +60,8 @@ mod sys {
|
||||
"darwin"
|
||||
} else if #[cfg(windows)] {
|
||||
"win32"
|
||||
} else if #[cfg(target_os = "wasi")] {
|
||||
"wasi"
|
||||
} else {
|
||||
"unknown"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user