dioxus icon indicating copy to clipboard operation
dioxus copied to clipboard

desktop = ["dioxus/native"] --> called `Option::unwrap()` on a `None` value

Open comods opened this issue 8 months ago • 1 comments

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

comods avatar Apr 15 '25 16:04 comods

Can you try with --release flag and see?

wheregmis avatar Apr 15 '25 22:04 wheregmis