-
Notifications
You must be signed in to change notification settings - Fork 188
Wasm with Cairo 1 #1830
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
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 96.30% 95.36% -0.95%
==========================================
Files 101 100 -1
Lines 40225 40033 -192
==========================================
- Hits 38740 38176 -564
- Misses 1485 1857 +372
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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