Skip to content

v0 mangling breaks hot-patching #5005

Description

@fasterthanlime

Today's nightly (nightly-2025-11-21) has switched to v0 mangling by default, see the announcement.

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 wasm-bindgen/wasm-bindgen#4494

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions