Skip to content

Not possible to use serde typetag with WASM #8

Open
@vhiribarren

Description

@vhiribarren

It does not seem possible to use https://github.com/dtolnay/typetag to easily convert from TOML to boxed trait objects for WASM, but it works with native compilation.

The use of https://github.com/mmastrac/rust-ctor might be the reason, since it uses low level file format manipulation to start code execution. There is no such thing in WASM, or at least here is a start section, but even so, the technique would be different than the one currently used by ctor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions