We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 395669b commit c5eb3cbCopy full SHA for c5eb3cb
src/packages/uname.rs
@@ -1,6 +1,6 @@
1
2
cfg_if::cfg_if! {
3
- if #[cfg(all(target_arch = "wasm32", target_os = "windows"))] {
+ if #[cfg(any(target_arch = "wasm32", target_os = "windows"))] {
4
pub fn uname() -> std::io::Result<String> {
5
Err(std::io::Error::new(std::io::ErrorKind::NotFound, "not supported on wasm32"))
6
}
0 commit comments