Skip to content

fix(codegen): Context generation with custom assets - #14883

Merged
lucasfernog merged 1 commit into
devfrom
fix/codegen-context-assets
Feb 3, 2026
Merged

fix(codegen): Context generation with custom assets#14883
lucasfernog merged 1 commit into
devfrom
fix/codegen-context-assets

Conversation

@lucasfernog

Copy link
Copy Markdown
Member

when custom assets are provided (tauri::generate_context!(assets = my_assets)) we can't use the fn inner logic directly and capture variables - we must pass them as arguments

when custom assets are provided (`tauri::generate_context!(assets = my_assets)`) we can't use the fn inner logic directly and capture variables - we must pass them as arguments
@lucasfernog
lucasfernog requested a review from a team as a code owner February 3, 2026 13:55
@github-actions

github-actions Bot commented Feb 3, 2026

Copy link
Copy Markdown
Contributor

Package Changes Through 997dbc0

There are 1 changes which include tauri-codegen with patch

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
tauri-codegen 2.5.3 2.5.4
tauri-macros 2.5.3 2.5.4
tauri-build 2.5.4 2.5.5
tauri 2.10.1 2.10.2

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@lucasfernog
lucasfernog merged commit eb5d884 into dev Feb 3, 2026
21 of 23 checks passed
@lucasfernog
lucasfernog deleted the fix/codegen-context-assets branch February 3, 2026 14:01
chippers pushed a commit to chippers/tauri that referenced this pull request Mar 3, 2026
when custom assets are provided (`tauri::generate_context!(assets = my_assets)`) we can't use the fn inner logic directly and capture variables - we must pass them as arguments
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