-
Notifications
You must be signed in to change notification settings - Fork 298
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
Add Memory::data_and_store_mut
#448
Conversation
CRITERION BENCHMARKS
|
Codecov Report
@@ Coverage Diff @@
## master #448 +/- ##
==========================================
- Coverage 79.54% 79.44% -0.11%
==========================================
Files 71 71
Lines 6185 6193 +8
==========================================
Hits 4920 4920
- Misses 1265 1273 +8
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
comments needs some small fix but besides that looks good to me! Thanks a lot for the PR!
wasmi_v1/src/memory/mod.rs
Outdated
/// Returns an exclusive slice to the bytes underlying to the byte buffer, and a shared | ||
/// reference to the user provided state. |
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.
/// Returns an exclusive slice to the bytes underlying to the byte buffer, and a shared | |
/// reference to the user provided state. | |
/// Returns an exclusive slice to the bytes underlying to the [`Memory`], and an exclusive | |
/// reference to the user provided state. |
wasmi_v1/src/store.rs
Outdated
/// Returns an exclusive reference to the associated entity of the linear memory and a shared | ||
/// reference to the user provided state. |
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.
/// Returns an exclusive reference to the associated entity of the linear memory and a shared | |
/// reference to the user provided state. | |
/// Returns an exclusive reference to the associated entity of the linear memory and an exclusive | |
/// reference to the user provided state. |
I pushed the comment fix; I'm wondering if the
If they were to match, it would say:
Also, I'm thinking grammatically, it would make sense to remove "to" |
Want to fix the other comments before we merge this? I am also fine just merging. |
Sure, I can add the fixes. |
Thanks a lot for the new API @AldaronLau ! |
Solves #447