mirror of
https://github.com/eth-act/ere.git
synced 2026-04-03 03:00:17 -04:00
TamaGo compilation support (#206)
This commit is contained in:
10
tests/zisk/basic_rust/Cargo.toml
Normal file
10
tests/zisk/basic_rust/Cargo.toml
Normal file
@@ -0,0 +1,10 @@
|
||||
[package]
|
||||
name = "ere-test-zisk-guest"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[workspace]
|
||||
|
||||
[dependencies]
|
||||
ere-platform-zisk = { path = "../../../crates/zkvm/zisk/platform" }
|
||||
ere-test-utils = { path = "../../../crates/test-utils" }
|
||||
13
tests/zisk/basic_rust/src/main.rs
Normal file
13
tests/zisk/basic_rust/src/main.rs
Normal file
@@ -0,0 +1,13 @@
|
||||
#![no_main]
|
||||
|
||||
use ere_platform_zisk::{ziskos, ZiskPlatform};
|
||||
use ere_test_utils::{
|
||||
guest::Sha256,
|
||||
program::{basic::BasicProgram, Program},
|
||||
};
|
||||
|
||||
ziskos::entrypoint!(main);
|
||||
|
||||
fn main() {
|
||||
BasicProgram::run::<ZiskPlatform<Sha256>>();
|
||||
}
|
||||
Reference in New Issue
Block a user