Skip to content

Conversation

@alexcrichton
Copy link
Member

Accidentally forgotten from #3153!

@github-actions github-actions bot added wasmtime:c-api Issues pertaining to the C API. wasmtime:docs Issues related to Wasmtime's documentation labels Aug 12, 2021
@github-actions
Copy link

Subscribe to Label Action

cc @peterhuene

This issue or pull request has been labeled: "wasmtime:c-api", "wasmtime:docs"

Thus the following users have been cc'd because of the following labels:

  • peterhuene: wasmtime:c-api

To subscribe or unsubscribe from this label, edit the .github/subscribe-to-label.json configuration file.

Learn more.

@alexcrichton alexcrichton merged commit e0c8961 into bytecodealliance:main Aug 12, 2021
@alexcrichton alexcrichton deleted the cli-mem64 branch August 12, 2021 17:34
kpreisser added a commit to kpreisser/wasmtime-dotnet that referenced this pull request Oct 22, 2022
…e Wasmtime C API with bytecodealliance/wasmtime#3182.

Additionally, add tests to verify the new APIs added with bytecodealliance#166 are able to access a memory beyond the 4 GiB area.
peterhuene pushed a commit to bytecodealliance/wasmtime-dotnet that referenced this pull request Oct 31, 2022
* Add support for enabling the Memory64 proposal, which was added to the Wasmtime C API with bytecodealliance/wasmtime#3182.

Additionally, add tests to verify the new APIs added with #166 are able to access a memory beyond the 4 GiB area.

* Follow-Up: Adjust the API to match the new C API introduced with bytecodealliance/wasmtime#3153, in order to support 64-bit memory.

This also fixes the definition of native functions wasmtime_memory_size and wasmtime_memory_grow, which previously incorrectly used a UInt32 instead of UInt64, and config functions taking a bool parameter, which were previously missing the MarshalAsAttribute (to marshal a Boolean as 1 byte instead of 4 bytes).

* Follow-Up: Validate the arguments.

* Simplify.

* Simplify.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wasmtime:c-api Issues pertaining to the C API. wasmtime:docs Issues related to Wasmtime's documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants