mirror of
https://github.com/anoma/juvix.git
synced 2024-09-11 16:26:33 +03:00
* Adds a RISC0 backend which generates Rust code that can be compiled with the official RISC0 toolchain. * The RISC0 backend is a wrapper around the Rust backend. * Adds the `risc0-rust` to the `compile` CLI command, which creates a directory containing host and guest Rust sources for the RISC0 zkVM. The generated code can be compiled/run using `cargo` from inside the created directory (requires having RISC0 installed: https://dev.risczero.com/api/zkvm/install).
9 lines
250 B
Haskell
9 lines
250 B
Haskell
module Rust where
|
|
|
|
import Base
|
|
import Rust.Compilation qualified as Compilation
|
|
import Rust.RiscZero qualified as RiscZero
|
|
|
|
allTests :: TestTree
|
|
allTests = sequentialTestGroup "Juvix to Rust tests" AllFinish [Compilation.allTests, RiscZero.allTests]
|