Closed MCJOHN974 closed 7 months ago
This PR aims only integrate some code to filetest infrastructure, reuse .clif files parsing, and just to compile some clif to zkasm and print it to stdout. No new checks performed.
It would be followed up by next set of PRs: 1) adding assert as host function to zkasm, such that assert fail don't halt the execution. 2) assembling generated pieces of zkasm to one program 3) final assembling of all previous work together & migrating CI from old version to new version.
@akashin, @mooori it's ready for review now.
Btw does anybody knows what this failed windows tests telling? I see cranelift\filetests\src\zkasm_runner.rs:117:39:
but we even don't have such file... Is this file generated during compilation?..
Btw does anybody knows what this failed windows tests telling? I see
cranelift\filetests\src\zkasm_runner.rs:117:39:
but we even don't have such file... Is this file generated during compilation?..Btw does anybody knows what this failed windows tests telling? I see
cranelift\filetests\src\zkasm_runner.rs:117:39:
but we even don't have such file... Is this file generated during compilation?..
This file was added in https://github.com/near/wasmtime/pull/213 - have you rebased on the latest main branch?
Last commit changed structure of test_run_zkasm.rs
a lot, and now it builds some .zkasm
program from whole test file. It is still WIP, and I left a lot of TODOs, but I think it can be merged as iteration step
Last commit fixes review notes (thanks @akashin). Btw, I see that main fails windows tests at zkasm_runner.rs
as well, so we just ignore them, am I right?
Last commit fixes review notes (thanks @akashin). Btw, I see that main fails windows tests at
zkasm_runner.rs
as well, so we just ignore them, am I right?
I'm working on fixing windows tests, but this should not block submitting this PR.
I'm working on fixing windows tests, but this should not block submitting this PR.
Thanks! I bet merging this PR is not blocking me and we can wait windows tests fix
@akashin, now CI is green and all review notes marked as outdated. Should we merge this?
Just small attempt to reuse some infra from filetests, for example
.clif
runtests parsing. Not ready to use