Skip to content

Use try_from #169

@sunfishcode

Description

@sunfishcode

As of Rust 1.34, the new TryFrom interfaces are stable in the standard library. We should use these in place of the cast crate where applicable.

For examples of how to do this, see the corresponding PR in Cranelift, although note that Wasmtime uses cast much more extensively.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions