Skip to content

Conversation

@ealmloff
Copy link
Member

@ealmloff ealmloff commented Nov 14, 2025

Instead of just warning when strip is enabled, this PR disables strip in our profile override and re-applies it after we are done with the symbols with rustc-objcopy.

This is working correctly with and without strip enabled in the profile on macos and WASM, but I still need to test this on linux and windows setups

Testing:

  • Macos
  • WASM
  • Windows
  • Linux

Fixes #4874
Fixes #4314

@ealmloff ealmloff requested a review from a team as a code owner November 14, 2025 15:06
@ealmloff ealmloff added bug Something isn't working cli Related to the dioxus-cli program tweak Small changes to improve experience labels Nov 14, 2025
@ealmloff ealmloff marked this pull request as draft November 14, 2025 15:07
@ealmloff ealmloff marked this pull request as ready for review November 17, 2025 18:14
@jkelleyrtp jkelleyrtp merged commit c58526a into DioxusLabs:main Nov 30, 2025
18 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 tweak Small changes to improve experience

Projects

None yet

Development

Successfully merging this pull request may close these issues.

dx-cli 0.7.0 fails to bundle assets when using cargo flag strip=true wasm-opt fails to optimize

2 participants