Skip to content

Conversation

ealmloff
Copy link
Member

@ealmloff ealmloff commented Jun 3, 2025

dx serve --platform web --release is currently broken when dx is built with the optimizations feature flag enabled. Wasm opt itself works with our current flags when installed from source, but the rust wrapper library we are using is broken. This PR switches to just installing the binary directly instead of using the bindings. This also means we don't need to maintain two different code paths for the local and bundled versions of wasm-opt

@ealmloff ealmloff added bug Something isn't working cli Related to the dioxus-cli program labels Jun 3, 2025
@ealmloff ealmloff marked this pull request as ready for review June 3, 2025 17:55
@ealmloff ealmloff requested a review from a team as a code owner June 3, 2025 17:55
@ealmloff ealmloff merged commit 693f5c6 into DioxusLabs:main Jun 4, 2025
19 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.

2 participants