Skip to content

fix(build): add Tauri 2.11+ command name re-exports#453

Open
josepferrer wants to merge 1 commit into
Zackriya-Solutions:devtestfrom
josepferrer:fix/tauri-command-reexports
Open

fix(build): add Tauri 2.11+ command name re-exports#453
josepferrer wants to merge 1 commit into
Zackriya-Solutions:devtestfrom
josepferrer:fix/tauri-command-reexports

Conversation

@josepferrer
Copy link
Copy Markdown

@josepferrer josepferrer commented May 6, 2026

Description

Fresh clones fail to compile because Cargo.lock is gitignored and Cargo resolves Tauri to 2.11+, which renamed the internal macro-generated items from __cmd__ to __tauri_command_name_. This PR adds both re-export variants so the build works with any Tauri 2.x version.

Related Issue

Fixes #454

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Performance improvement
  • Code refactoring
  • Other (please describe)

Testing

  • Unit tests added/updated
  • Manual testing performed
  • All tests pass

Verified by running ./build-gpu.sh on a fresh clone (macOS, Apple Silicon). Build completes successfully producing meetily.app and .dmg.

Documentation

  • No documentation needed

Checklist

  • Code follows project style
  • Self-reviewed the code
  • Added comments for complex code
  • Updated README if needed

…bility

Tauri 2.11 introduced __tauri_command_name_ prefixed items alongside the
existing __cmd__ prefix. Since Cargo.lock is gitignored, fresh clones
resolve to Tauri 2.11+ and fail to compile. Adding both re-export variants
ensures the build works with any Tauri 2.x version.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

1 participant