-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The goal of this pull request is to refactor `unwrap()` to return the `u64` value or an`Error:VarIntDecodeError` in the `no_std` environment. This error was discovered in fuzz testing. Tests were refactored to include a new `no_std_tests` module, in order to test the fix. `cargo test --no-default-features` will execute the `no_std` test.
- Loading branch information
1 parent
7427a7b
commit 86c7912
Showing
4 changed files
with
207 additions
and
177 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
Oops, something went wrong.