dioxus
dioxus copied to clipboard
desktop = ["dioxus/native"] --> called `Option::unwrap()` on a `None` value
Note: Rust is using the GIT repo's main branch, not a release.
Problem Cargo.toml
desktop = ["dioxus/desktop"]
into
desktop = ["dioxus/native"]
breaks build.
Steps To Reproduce Cargo.toml
desktop = ["dioxus/native"]
dx build --nightly ...
xkbcommon: ERROR: /usr/share/X11/locale/en_US.UTF-8/Compose:1661:1: unrecognized keysym "dead_hamza" on left-hand side
xkbcommon: ERROR: /usr/share/X11/locale/en_US.UTF-8/Compose:1662:1: unrecognized keysym "dead_hamza" on left-hand side
xkbcommon: ERROR: /usr/share/X11/locale/en_US.UTF-8/Compose:1663:1: unrecognized keysym "dead_hamza" on left-hand side
xkbcommon: ERROR: /usr/share/X11/locale/en_US.UTF-8/Compose:1664:1: unrecognized keysym "dead_hamza" on left-hand side
xkbcommon: ERROR: /usr/share/X11/locale/en_US.UTF-8/Compose:1665:1: unrecognized keysym "dead_hamza" on left-hand side
thread 'main' panicked at /usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/khronos-egl-6.0.0/src/lib.rs:1779:26:
called `Option::unwrap()` on a `None` value
Expected behavior
renders natively without webview dependency.
Environment:
- Dioxus version: 0.6.3 from GIT
- Rust version: 1.88.0-nightly (2da29dbe8 2025-04-14)
- OS info: FROM docker.io/rust:latest, Debian GNU/Linux 12 (bookworm)
- App platform: desktop/linux/native
Can you try with --release flag and see?