Skip to content

fix(cli): bundle with the target triple resolved from cargo config - #16097

Merged
lucasfernog merged 1 commit into
devfrom
fix/cli-bundle-target-triple
Sep 25, 2026
Merged

lucasfernog merged 1 commit into
devfrom
fix/cli-bundle-target-triple

Conversation

@lucasfernog

Copy link
Copy Markdown
Member

No description provided.

@lucasfernog
lucasfernog requested a review from a team as a code owner September 23, 2026 16:30
"@tauri-apps/cli": patch:bug
---

Fix the bundler using the host target triple when `--target` is not passed but `build.target` is set in `.cargo/config.toml`. The CLI now also accepts `build.target` as an array and honors the `CARGO_BUILD_TARGET` environment variable.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at the code, we had support for this just not when it's an array right?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, but we didn't pass the correct target to the bundler

@lucasfernog
lucasfernog merged commit 8e0fa2e into dev Sep 25, 2026
21 checks passed
@lucasfernog
lucasfernog deleted the fix/cli-bundle-target-triple branch September 25, 2026 16:08
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