Dan Gohman

Results 179 issues of Dan Gohman

Currently, WIT [package names] put the version after the package name: ```wit package wasi:[email protected]; ``` However, WIT [`use` statements] and similar things put the version after the interface: ```wit use...

pre-1.0

Currently one can use `include` to derive one world from another, however I've been finding myself wanting more ways: - `include_imports` - Like `include`, but only includes imports - `include_exports`...

I am proposing to rename clang's wasm32-wasi target to wasm32-wasip1 in this LLVM issue: https://github.com/llvm/llvm-project/issues/165344 . Please see that issue for more information, and please follow up with any comments...

#2288 extended `Resolve::select_world` to support lists of main packages, which is used in the Rust bindings macro which accepts a list of paths, and with https://github.com/bytecodealliance/wit-bindgen/pull/1368#issuecomment-3225013168, wit-bindgen will also accept...

wit

The Wasm signature format described in Signatures.md is general enough to work on components, and there is [component support in wasmsign2], so document that the format supports components. [component support...

Sqlite and the Emscripten cache file are two cases where file locking has come up in real-world use cases. The POSIX way to do file locking, with `fcntl` and `F_SETLK`/`F_GETLK`-style...

P-filesystem

Since WASI can't currently open symlinks with absolute paths, should `readlink`, fail when reading a symlink with an absolute path? That would avoid accidental leakage of host filesystem paths in...

P-filesystem

Some applications rely on `struct stat` to contain a `st_blksize` field to determine what size buffer to use. `filestat` doesn't currently provide this information. It may also be useful to...

P-filesystem

On POSIX, path resolution is performed one component at a time, and `..` is resolved only after resolving all components that came before it. Opening a path such as `nonexistent/..`...

P-filesystem

change-file-permissions-at is vague about what it precisely does. This is necessary to some degree, due to differences between host operating systems. But it should at least say what it does...

P-filesystem