Skip to content

Commit

Permalink
chore: fix wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
jtroo committed Apr 21, 2024
1 parent f5bf304 commit 2ff1385
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 2 additions & 0 deletions src/kanata/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ use macos::*;

#[cfg(target_os = "unknown")]
mod unknown;
#[cfg(target_os = "unknown")]
use unknown::*;

mod caps_word;
pub use caps_word::*;
Expand Down
3 changes: 3 additions & 0 deletions src/kanata/unknown.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
use super::*;

pub static PRESSED_KEYS: Lazy<Mutex<HashSet<OsCode>>> =
Lazy::new(|| Mutex::new(HashSet::default()));

impl Kanata {
pub fn check_release_non_physical_shift(&mut self) -> Result<()> {
// Silence warning
Expand Down
9 changes: 5 additions & 4 deletions wasm/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2ff1385

Please sign in to comment.