-
Notifications
You must be signed in to change notification settings - Fork 342
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
risc0-binfmt: use no_std for anyhow and elf (#869)
This change uses `default-features = false` for `anyhow` and `elf` crates. Using these features resulted in several compiler warnings about error type conversions. To fix the errors, I've added pattern matching for Ok(...) and Err(...) mainly for u64 -> u32 conversions. --------- Co-authored-by: Frank Laub <flaub@risc0.com> Co-authored-by: Victor Graf <victor@risczero.com>
- Loading branch information
1 parent
6cee6e8
commit 2a47542
Showing
3 changed files
with
29 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters