jder requested alexcrichton for a review on PR #9598.
jder requested wasmtime-core-reviewers for a review on PR #9598.
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.
jder updated PR #9598.
alexcrichton submitted PR review:
Thanks for this!
alexcrichton merged PR #9598.
Last updated: Nov 22 2024 at 16:03 UTC