Skip to content

Commit 03e1b0e

Browse files
committed
Fixed cfg directive for web
1 parent 1442455 commit 03e1b0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/store/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pub fn new_store(identifier: &str) -> Store {
3636
Store::new(Location::LocalStorage(identifier))
3737
}
3838

39-
#[cfg(not(target_os = "android"))]
39+
#[cfg(not(any(target_os = "android", target_arch = "wasm32")))]
4040
fn get_desktop_path(identifier: &str) -> std::path::PathBuf {
4141
let [qualifier, organization, application] = identifier.split('.').collect::<Vec<&str>>()[..3] else {
4242
panic!("Invalid identifier");

0 commit comments

Comments
 (0)