-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no_std support for fuel-tx
and fuel-vm
#582
Merged
Merged
Changes from 47 commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
9df7764
WIP
Dentosal b5c74f4
WIP: use k256 crate for no_std compliant cryptography
Dentosal 2812411
Merge branch 'master' into dento/nostd_crypto
Dentosal 6b7f326
Re-add secp256k1 crate support, add backend selection
Dentosal 4eda0ee
Fix clippy issues with features on/off
Dentosal f1c6df6
Merge branch 'master' into dento/nostd_crypto
Dentosal dcd67d9
Fmt toml files
Dentosal f9465cb
Cleanup for CI
Dentosal 637368b
Add changelog entry
Dentosal b68c1c5
Doc-tests cleanup
Dentosal 1640c4e
Rename secp module to secp256
Dentosal 73bd6c1
Fix warnings with no_std target
Dentosal 94ad309
Run checks for no_std fuel-crypto
Dentosal 24cad19
WIP
Dentosal 14b19c3
Merge branch 'master' into dento/nostd
Dentosal 4537fbd
WIP
Dentosal 926643c
WIP: before attempting to un-indirect error types
Dentosal c0f193d
Error type rework
Dentosal 3838725
Change deps from last commit to be no_std
Dentosal 2511ad9
Make cargo check work under --target x86_64-unknown-none --features a…
Dentosal 3f69a40
Toml fmt
Dentosal a2ee758
Move more stuff out of #[cfg(feature = "std")]
Dentosal 3d255a9
Cleanup fuel-asm cfgs
Dentosal b45cbdf
Add changelog
Dentosal 7475926
Move some fuel-asm gates from std to alloc feature
Dentosal 6a7129c
Clippy fixes
Dentosal 438f9db
Add missing no_std/alloc imports for fuel-vm tests (WIP)
Dentosal 52bab5d
Finalize test import fixes
Dentosal e7e9805
Merge branch 'master' into dento/nostd
Dentosal 329efcd
Temporarily disable fuel-crypto self-dev-dep
Dentosal a4a3cae
Some cfg-related import fixes
Dentosal 7dc6f6f
Fix changelog
Dentosal c56d7fa
Re-apply fuel-crypto self-dev-dep
Dentosal 17a650d
Compatibility fixes for fuel-core
Dentosal aaf7ac4
Feature-gate fuel-vm tests behind alloc
Dentosal b417a64
Add riscv32imac-unknown-none-elf to cargo make matrix targets
Dentosal 6d9229e
Remove unneeded alloc feature gating
Dentosal 90d0050
Use alloc feature with tests
Dentosal be98b79
Remove a useless import
Dentosal 1001bec
Use qualified path instead of an import
Dentosal d398c76
bugfix: StorageRead<ContractsRawCode> of MemoryStorage returned incor…
Dentosal 20b5b5c
Update fuel-asm/src/encoding_tests.rs
Dentosal 3ec9c1c
WIP: adding fully generic storage error (likely not)
Dentosal 412c55f
more wip
Dentosal 9ea67a8
WIP: tests passing again
Dentosal a7f6382
Cleanup: clippy
Dentosal 618a6bd
Merge branch 'master' into dento/nostd
Dentosal 4433b49
Minor moments after review
xgreenx 94d1050
Change two match'es to map_err's
Dentosal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#![no_std] | ||
#![cfg_attr(not(feature = "std"), no_std)] | ||
#![deny(unsafe_code)] | ||
#![deny(unused_crate_dependencies)] | ||
|
||
|
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just curious - did you chose the IMAC extensions for any particular reason, or is that just a safe default?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's closes to the internal target used by risc-zero