-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wasm with Cairo 1 #1830
base: main
Are you sure you want to change the base?
Wasm with Cairo 1 #1830
Conversation
|
Benchmark Results for unmodified programs 🚀
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1830 +/- ##
==========================================
- Coverage 94.89% 93.95% -0.95%
==========================================
Files 102 101 -1
Lines 40305 40125 -180
==========================================
- Hits 38247 37698 -549
- Misses 2058 2427 +369 ☔ View full report in Codecov by Sentry. |
serialize_output: true, | ||
..Default::default() | ||
}; | ||
let sierra_program = match serde_json::from_slice(include_bytes!("../bitwise.sierra")) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you comment here what program and compiler version are we using for this sierra
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
Done! |
e3a7f53
to
3166484
Compare
Everything done |
Wasm with Cairo 1
Closes #1827
Description
This PR adds the ability to run cairo 1 programs with wasm. The crate cairo1-run has been refactored in order for it to stop depending on the rust native standard library. There also has been added a new feature
cli
which allows cairo1-run to be used as a binary. This addition was made to avoid using thestd
library unless this specific case, where it needs to read from files and thestd
library must be used.Checklist