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

Feature unsealed_read_write should work without std #134

Closed
pyfisch opened this issue Jul 2, 2019 · 1 comment · Fixed by #135
Closed

Feature unsealed_read_write should work without std #134

pyfisch opened this issue Jul 2, 2019 · 1 comment · Fixed by #135

Comments

@pyfisch
Copy link
Owner

pyfisch commented Jul 2, 2019

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.

baloo pushed a commit to baloo/cbor that referenced this issue Jul 2, 2019
Fixes pyfisch#134
This partially reverts commit a8be10e.

Signed-off-by: Arthur Gautier <baloo@gandi.net>
@baloo
Copy link
Contributor

baloo commented Jul 2, 2019

Good catch! Sorry I missed that

baloo pushed a commit to baloo/cbor that referenced this issue Jul 2, 2019
Fixes pyfisch#134
This partially reverts commit a8be10e.

Signed-off-by: Arthur Gautier <baloo@gandi.net>
baloo pushed a commit to baloo/cbor that referenced this issue Jul 2, 2019
Fixes pyfisch#134
This partially reverts commit a8be10e.

Signed-off-by: Arthur Gautier <baloo@gandi.net>
baloo pushed a commit to baloo/cbor that referenced this issue Jul 2, 2019
Fixes pyfisch#134
This reverts commit a8be10e

Signed-off-by: Arthur Gautier <baloo@gandi.net>
pyfisch pushed a commit that referenced this issue Jul 3, 2019
Fixes #134
This reverts commit a8be10e

Signed-off-by: Arthur Gautier <baloo@gandi.net>
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants