Stream: git-wasmtime

Topic: wasmtime / PR #8162 Refactor the `MemFlags` internal repr...


view this post on Zulip Wasmtime GitHub notifications bot (Mar 18 2024 at 04:13):

alexcrichton opened PR #8162 from alexcrichton:refactor-mem-flags to bytecodealliance:main:

This commit refactors the internal MemFlags bits to be not just flags.
Instead some bits are now grouped together and interpreted as a unit.
This enables two primary API changes:

The main purpose of this commit is to enable using more trap codes with
MemFlags for when a segfault is detected. For example with https://github.com/bytecodealliance/wasmtime/issues/5291 we
want a segfault to indicate a call-to-null, which is not currently
covered by MemFlags.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 18 2024 at 04:13):

alexcrichton requested fitzgen for a review on PR #8162.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 18 2024 at 04:13):

alexcrichton requested wasmtime-compiler-reviewers for a review on PR #8162.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 18 2024 at 04:13):

alexcrichton requested wasmtime-core-reviewers for a review on PR #8162.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 18 2024 at 08:33):

jameysharp created PR review comment:

I think this comment no longer applies; the "Errors" section below covers semantic errors, set_by_name doesn't return false for them any more.

    /// name.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 18 2024 at 08:33):

jameysharp submitted PR review:

This looks great, after one minor doc-comment fix I think. Very clear and reviewable, thank you!

view this post on Zulip Wasmtime GitHub notifications bot (Mar 18 2024 at 08:33):

jameysharp submitted PR review:

This looks great, after one minor doc-comment fix I think. Very clear and reviewable, thank you!

view this post on Zulip Wasmtime GitHub notifications bot (Mar 18 2024 at 14:55):

alexcrichton updated PR #8162.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 18 2024 at 14:55):

alexcrichton has enabled auto merge for PR #8162.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 18 2024 at 15:39):

alexcrichton merged PR #8162.


Last updated: Dec 23 2024 at 12:05 UTC