-
Notifications
You must be signed in to change notification settings - Fork 451
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Explicitly link against rlibc to get non buggy version of memcpy #1049
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1049 +/- ##
===========================================
- Coverage 78.78% 63.76% -15.03%
===========================================
Files 248 248
Lines 9363 9361 -2
===========================================
- Hits 7377 5969 -1408
- Misses 1986 3392 +1406
Continue to review full report at Codecov.
|
I wonder what effects this has on the Wasm file sizes and compilation times but I guess |
I guess file sizes in this PR will get up because I re-enabled overflow-checks. But look at this crate. It is tiny. |
🦑 📈 ink! Example Contracts ‒ Size Change Report 📉 🦑These are the results of building the
Link to the run | Last update: Thu Nov 25 12:11:44 CET 2021 |
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.
❤️
…-ink#1049) * Explicitly link against rlibc to get non-buggy version of memcpy * Revert "Disable overflow checks for examples (use-ink#1034)" This reverts commit b2256d9.
Fixes #364
The "ghost import" is called by the compiler inserted
memcpy
function. This is a workaround by providing a non buggy version of this functions ourselves.