Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0094064

Browse filesBrowse files
authored
Merge pull request #4576 from jhowww/sys-platform-wasi
add wasm32-wasi as wasi in sys.platform
2 parents 945a533 + 7e37f8e commit 0094064
Copy full SHA for 0094064

File tree

1 file changed

+2
-0
lines changed
Filter options

1 file changed

+2
-0
lines changed

‎vm/src/stdlib/sys.rs

Copy file name to clipboardExpand all lines: vm/src/stdlib/sys.rs
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ mod sys {
6060
"darwin"
6161
} else if #[cfg(windows)] {
6262
"win32"
63+
} else if #[cfg(target_os = "wasi")] {
64+
"wasi"
6365
} else {
6466
"unknown"
6567
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.