Skip to content

32-bit potential panics #429

@Boog900

Description

@Boog900

The issue for wasm32-unknown-unknown builds was:

  • cuprate_rpc_types depends on cuprate_types with json feature
  • json feature requires cuprate_helper::cast

To fix this, I am making cuprate_helper::cast work on 32-bit targets, yet panic when the cast is lossy. I don't think this is the correct long-term solution but it does work for now.

Originally posted by @hinto-janai in #355 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions