fix(build): resolve target dir from OUT_DIR on new nightly - #15831
Merged
Legend-Master merged 3 commits intoAug 6, 2026
Conversation
Legend-Master
previously approved these changes
Aug 6, 2026
Legend-Master
left a comment
Contributor
There was a problem hiding this comment.
Thanks! Just a bit of nitpicks and we can get this merged.
Contributor
Package Changes Through d4b8b00There are 14 changes which include tauri with minor, tauri-cli with minor, @tauri-apps/cli with minor, tauri-runtime with minor, tauri-runtime-wry with minor, tauri-utils with minor, tauri-bundler with minor, tauri-build with minor, tauri-macos-sign with minor, tauri-codegen with minor, tauri-macros with minor, tauri-plugin with minor, tauri-driver with minor, @tauri-apps/api with minor Planned Package VersionsThe following package releases are the planned based on the context of changes in this pull request.
Add another change file through the GitHub UI by following this link. Read about change files or the docs at github.com/jbolda/covector |
Legend-Master
approved these changes
Aug 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
tauri-buildassumed the target dir sits exactly three levels aboveOUT_DIR. Recent nightly toolchains changed the build script output layout frombuild/<pkg>-<hash>/outtobuild/<pkg>/<hash>/out, so that assumption pointed one level too deep and sidecars and resources were copied intotarget/debug/buildinstead oftarget/debug.It now walks up from
OUT_DIRto thebuilddirectory and takes its parent, which works on both layouts.Verified with the reproduction from the issue: on nightly the sidecar now lands in
target/debug/helloagain, and stable is unaffected.Closes #15830