mirror of
https://github.com/eth-act/ere.git
synced 2026-02-19 11:54:42 -05:00
refactor: simplify the print for sp1 platform a bit
This commit is contained in:
@@ -22,8 +22,7 @@ impl Platform for SP1Platform {
|
||||
}
|
||||
|
||||
fn print(message: &str) {
|
||||
let bytes = message.as_bytes();
|
||||
sp1_zkvm::syscalls::sys_write(1, bytes.as_ptr(), bytes.len());
|
||||
sp1_zkvm::io::write(1, message.as_bytes());
|
||||
}
|
||||
|
||||
fn cycle_scope_start(name: &str) {
|
||||
|
||||
Reference in New Issue
Block a user