-
Notifications
You must be signed in to change notification settings - Fork 93
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
Make the fuel-vm no-std or WASM/RiscV compatible #536
Comments
Related: |
Just reporting the state of compatibility with risc0 / riscV, fuel-crypto is compiling correctly now. Currently, the build process complains about
Not very experienced in rs, but it looks to me as the #[cfg(feature = "std")]
impl FormatValidityChecks for Transaction {
... |
This is almost achieved in #536, which makes the VM itself runnable under |
After https://danielmangum.com/posts/risc-v-bytes-rust-cross-compilation/, we are able to compile cargo build --target wasm32-unknown-unknown --no-default-features -p fuel-tx --features alloc
cargo build --target wasm32-unknown-unknown --no-default-features -p fuel-vm --features alloc
cargo build --target riscv64imac-unknown-none-elf --no-default-features -p fuel-tx --features alloc
cargo build --target riscv64imac-unknown-none-elf --no-default-features -p fuel-vm --features alloc Closing this issue=) |
Abstract
We need to make the entire
fuel-vm
implementation RiscV compatible for fraud proving.This would also allow for better browser, debugging and educational tools for the FuelVM.
Currently Compatible
fuel-asm
fuel-types
fuel-merkle
fuel-storage
fuel-crypto
fuel-tx
(usesfuel-crypto
)fuel-vm
(usesfuel-tx
)Related:
#443
#533
The text was updated successfully, but these errors were encountered: