Stream: git-wasmtime

Topic: wasmtime / PR #9598 Use enum for directory/file permissio...


view this post on Zulip Wasmtime GitHub notifications bot (Nov 12 2024 at 18:31):

jder requested alexcrichton for a review on PR #9598.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 12 2024 at 18:31):

jder requested wasmtime-core-reviewers for a review on PR #9598.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 12 2024 at 18:31):

jder opened PR #9598 from jder:use-enum-for-perms to bytecodealliance:main:

As part of https://github.com/bytecodealliance/wasmtime-py/issues/251, I want to use the File/Directory permission constants from the C API in Python. As defines, this is a bit tricky. Rather than hard-code them on the Python side, this PR makes them into an enum, and the existing C-to-Python logic is able to see & emit them. I have some work in progress which does this, see the resulting generated code and the nicer wrappers around them.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 13 2024 at 15:09):

jder updated PR #9598.

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

alexcrichton submitted PR review:

Thanks for this!

view this post on Zulip Wasmtime GitHub notifications bot (Nov 14 2024 at 21:11):

alexcrichton merged PR #9598.


Last updated: Nov 22 2024 at 16:03 UTC