Skip to content

fix: resolve Tauri build errors for macOS - #2

Merged
lam0819 merged 1 commit into
mainfrom
claude/fix-tauri-build-errors-01J4r3JjasEHESm64Jo5Ewov
Dec 4, 2025
Merged

lam0819 merged 1 commit into
mainfrom
claude/fix-tauri-build-errors-01J4r3JjasEHESm64Jo5Ewov

Conversation

@lam0819

@lam0819 lam0819 commented Dec 4, 2025

Copy link
Copy Markdown
Contributor
  • Replace tauri::async_runtime::sleep with tokio::time::sleep (not available in tauri)
  • Fix State access using .inner().clone() instead of .cloned().unwrap()
  • Clone defaults before unwrap_or_else to prevent use after move
  • Remove unnecessary mut from state variable

- Replace tauri::async_runtime::sleep with tokio::time::sleep (not available in tauri)
- Fix State access using .inner().clone() instead of .cloned().unwrap()
- Clone defaults before unwrap_or_else to prevent use after move
- Remove unnecessary mut from state variable
@lam0819
lam0819 merged commit e9de445 into main Dec 4, 2025
1 of 3 checks passed
@lam0819
lam0819 deleted the claude/fix-tauri-build-errors-01J4r3JjasEHESm64Jo5Ewov branch December 9, 2025 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants