Closed raindust closed 3 months ago
The c risc-v extension is currently not supported. See https://github.com/ethereum-optimism/asterisc/pull/6 for a draft of that.
Without c extension some No-std rust programs can be proven by modifying the compiler settings I believe. See the Kona project as example.
Thanks for your information @protolambda , I will have a try.
I write a piece of rust code and just do the same thing with https://github.com/ethereum-optimism/asterisc/blob/48f53131a83817c26b0bc89849e9fbcc90482961/tests/go-tests/minimal/main.go . Then I compiled with the target
riscv64imac-unknown-none-elf
.Finally, I run the compiled file with https://github.com/ethereum-optimism/asterisc/blob/48f53131a83817c26b0bc89849e9fbcc90482961/rvgo/test/vm_go_test.go#L212-L259 and it gives me the following error:
From the README here I think the riscv64imac is fully supported, am I missing something?