wasmtime icon indicating copy to clipboard operation
wasmtime copied to clipboard

Add permissions to `wasi_config_preopen_dir` C API

Open ajalt opened this issue 4 months ago • 1 comments

The current wasi_config_preopen_dir function does not expose the dir_perms and file_perms parameters that were added to preopened_dir. This commit adds them and updates the docs for those functions to reflect the current signature.

This is a prerequisite for https://github.com/bytecodealliance/wasmtime-py/issues/251

This change isn't backwards compatible, so please let me know if there's anything I need to do differently.

ajalt avatar Oct 16 '24 21:10 ajalt