Skip to content

Always automatically derive Debug & Clone for Rust codegen backend #2521

@teh-cmc

Description

@teh-cmc

Every single component/datatype definitions that we have specifies the following:

"attr.rust.derive": "Debug, Clone, ...",

We might as well just make Debug & Clone automatically implemented, always.

While we're at it, it might be wise to flag Debug behind a #[cfg(arch)], so that it doesn't pollute the wasm artifact?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions