Skip to content
This repository was archived by the owner on Aug 15, 2021. It is now read-only.
This repository was archived by the owner on Aug 15, 2021. It is now read-only.

Feature unsealed_read_write should work without std #134

@pyfisch

Description

@pyfisch

Run cargo build --no-default-features --features unsealed_read_write.

It fails with:

error[E0599]: no variant or associated item named `Io` found for type `error::ErrorCode` in the current scope
   --> src/error.rs:53:30
    |
53  |             code: ErrorCode::Io,
    |                              ^^ variant or associated item not found in `error::ErrorCode`
...
263 | pub(crate) enum ErrorCode {
    | ------------------------- variant or associated item `Io` not found here

error: aborting due to previous error

For more information about this error, try `rustc --explain E0599`.
error: Could not compile `serde_cbor`.

To learn more, run the command again with --verbose.

@baloo now we know why Error::Io is needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions