DioxusLabs / DioxusLabs/dioxus

v0 mangling breaks hot-patching

Open
#5,005 4 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
39.1k
Forks
1.9k
Avg merge
4d 10h
Merged PRs (30d)
4

Description

Today's nightly (`nightly-2025-11-21`) has switched to v0 mangling by default, see [the announcement](https://blog.rust-lang.org/2025/11/20/switching-to-v0-mangling-on-nightly/).

I like getting in trouble so I switched to it today, and noticed that it breaks hot-patching because the wbindgen workaround you have relies on the the C++ like mangled form.

My proposed fix is to rely on the rustc-demangle crate instead.

I'm working on a PR, I'll submit it as soon as I can.

Also it might be time to poke the wbindgen folks about https://github.com/wasm-bindgen/wasm-bindgen/issues/4494

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.