Skip to content

Commit c5eb3cb

Browse files
committed
fixing bug
1 parent 395669b commit c5eb3cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/packages/uname.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
cfg_if::cfg_if! {
3-
if #[cfg(all(target_arch = "wasm32", target_os = "windows"))] {
3+
if #[cfg(any(target_arch = "wasm32", target_os = "windows"))] {
44
pub fn uname() -> std::io::Result<String> {
55
Err(std::io::Error::new(std::io::ErrorKind::NotFound, "not supported on wasm32"))
66
}

0 commit comments

Comments
 (0)