Similar to #1193, but in here I am just interested in having it working
end-to-end, at least for a few cases, so that everybody can try it and
build upon.
<!--
Please follow this protocol when creating or reviewing PRs in this
repository:
- Leave the PR as draft until review is required.
- When reviewing a PR, every reviewer should assign themselves as soon
as they
start, so that other reviewers know the PR is covered. You should not be
discouraged from reviewing a PR with assignees, but you will know it is
not
strictly needed.
- Unless the PR is very small, help the reviewers by not making forced
pushes, so
that GitHub properly tracks what has been changed since the last review;
use
"merge" instead of "rebase". It can be squashed after approval.
- Once the comments have been addressed, explicitly let the reviewer
know the PR
is ready again.
-->
---------
Co-authored-by: Leo <leo@powdrlabs.com>
Update riscv/runtime/src/lib.rs
Co-authored-by: chriseth <chris@ethereum.org>
package runtime lib to compile single files
Remove need for loop{} in main
Remove 'extern "C"' from main declaration
implement mem* funcs in the runtime
Co-Authored-by: chriseth <chris@ethereum.org>
fix a couple endianness and alignment issues
remove unused build entry in compiler/Cargo.toml
more review feedback
fix clippy linter error
update README
Remove all #[no_main]
Add test runner for memfuncs.