You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Developers who start working with zkllvm often want to see a simple application that compiles both to a normal amd64 application and to a circuit with zkllvm.
Otherwise it's hard to understand how to make an app that compiles in both ways and how to run tests on it.
DoD:
Simple app with main.
Unit-tests for this app.
(optionally) functional test for a compiled app.
Cicruit compilation
The text was updated successfully, but these errors were encountered:
We've recently created the desired functionality while doing this issue: NilFoundation/zkLLVM#181
So, once this PR is merged, we can bring such an example in the template repository: NilFoundation/zkLLVM#209
nkaskov
changed the title
Add an example of a common application with main
Make template app compilable both to circuits and x86
Aug 22, 2023
We need to modify CMakeLists in src directory so it can be used to compile to x86. This will also require to fix the code and add main similar to how we do it in zkLLVM tests.
Developers who start working with zkllvm often want to see a simple application that compiles both to a normal amd64 application and to a circuit with zkllvm.
Otherwise it's hard to understand how to make an app that compiles in both ways and how to run tests on it.
DoD:
main
.The text was updated successfully, but these errors were encountered: