-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Problem
When I run dx serve when strip = "debuginfo" is set, I get a build error:
dx serve
12:06:36 [dev] -----------------------------------------------------------------
Serving your app: test-dx! π
β’ Press `ctrl+c` to exit the server
β’ Press `r` to rebuild the app
β’ Press `p` to toggle automatic rebuilds
β’ Press `v` to toggle verbose logging
β’ Press `/` for more commands and shortcuts
Learn more at https://dioxuslabs.com/learn/0.7/getting_started
----------------------------------------------------------------
12:06:36 [dev] Build failed: Failed to strip binary
12:06:36 [dev] Build failed: Failed to strip binary
Running dx serve --release runs and I can open it in the browser, but it gives a different error in the terminal:
dx serve --release
12:12:32 [dev] -----------------------------------------------------------------
Serving your app: test-dx! π
β’ Press `ctrl+c` to exit the server
β’ Press `r` to rebuild the app
β’ Press `p` to toggle automatic rebuilds
β’ Press `v` to toggle verbose logging
β’ Press `/` for more commands and shortcuts
Learn more at https://dioxuslabs.com/learn/0.7/getting_started
----------------------------------------------------------------
12:12:36 [dev] wasm-opt failed with status code signal: 6 (SIGABRT) (core dumped)
stderr:
stdout: compile unit size was incorrect (this may be an unsupported version of DWARF)
12:12:36 [dev] Build completed successfully in 446ms, launching app! π«
12:12:36 [server] INFO Registering server function: POST /api/echo
12:12:43 [server] [200] /
Steps To Reproduce
Steps to reproduce the behavior:
- Create a new project using
dx newwith fullstack, router, and tailwind enabled and default to web. - Add this to your
~/.cargo/config.tomlfile:[profile.dev] strip = "debuginfo"
- Run
dx serve - Observe error
Expected behavior
Build without error.
Environment:
- Dioxus version: 0.7.2
- Rust version: v1.91.1 stable
- OS info: EndeavorOS (Arch based rolling distro)
- App platform: Web
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working