Skip to content

Conversation

ealmloff
Copy link
Member

@ealmloff ealmloff commented Jun 27, 2025

Hot patching was causing assets to be merged because the object crate doesn't parse exports as symbols correctly when under the pic relocation model. This PR switches to walrus for most of the parsing to fix the issue.

It also adds a new test for hot patching with assets. To prevent dx serve from running forever when the build fails between hotpatches, it adds a hidden --exit-on-error flag to exit early like dx run when the CLI runs into an error

Fixes #4324

@ealmloff ealmloff requested a review from a team as a code owner June 27, 2025 14:50
@ealmloff ealmloff added bug Something isn't working cli Related to the dioxus-cli program labels Jun 27, 2025
@jkelleyrtp jkelleyrtp merged commit 2071be2 into DioxusLabs:main Jun 30, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cli Related to the dioxus-cli program
Projects
None yet
Development

Successfully merging this pull request may close these issues.

hot-patching on main causes assets srcs to be set to /assets/
2 participants