Stream: git-wasmtime

Topic: wasmtime / Issue #983 Investigate implementing `table.cop...


view this post on Zulip Wasmtime GitHub notifications bot (Mar 08 2021 at 20:21):

peterhuene closed Issue #983:

https://github.com/bytecodealliance/wasmtime/pull/976#discussion_r383978188

I originally didn't do this in order to (a) conform with the spec in an obvious way, and (b) because I was unsure if table elements are something we can safely memcpy around, and (c) I wasn't sure that this actually matches the spec's behavior but I _think_ it does.

(Note: we shouldn't literally, actually use memcpy directly. We would use copy_from_slice.)

spec link: https://webassembly.github.io/bulk-memory-operations/core/exec/instructions.html#exec-table-copy


Last updated: Dec 23 2024 at 12:05 UTC