Skip to content

Conversation

@sunfishcode
Copy link
Member

std has recently sealed its FileTypeExt traits, so cap-primitives can
no longer implement them for its own types. Fortunately, these traits
are just used as extension traits, so we can just define our own copies
of them, and implement those instead.

Fixes #270.

std has recently sealed its `FileTypeExt` traits, so cap-primitives can
no longer implement them for its own types. Fortunately, these traits
are just used as extension traits, so we can just define our own copies
of them, and implement those instead.

Fixes #270.
@sunfishcode sunfishcode merged commit 949f251 into main Aug 23, 2022
@sunfishcode sunfishcode deleted the sunfishcode/file-type-ext branch August 23, 2022 20:03
sunfishcode added a commit to sunfishcode/wasmtime that referenced this pull request Sep 21, 2022
This is primarily to pull in bytecodealliance/cap-std#271, the fix for bytecodealliance#4936,
compilation on Rust nightly on Windows.

It also updates to rustix 0.35.10, to pull in bytecodealliance/rustix#403,
the fix for bytecodealliance/rustix#402, compilation on newer versions of
the libc crate, which changed a public function from `unsafe` to safe.

Fixes bytecodealliance#4936.
alexcrichton pushed a commit to bytecodealliance/wasmtime that referenced this pull request Sep 21, 2022
* Update to cap-std 0.26.

This is primarily to pull in bytecodealliance/cap-std#271, the fix for #4936,
compilation on Rust nightly on Windows.

It also updates to rustix 0.35.10, to pull in bytecodealliance/rustix#403,
the fix for bytecodealliance/rustix#402, compilation on newer versions of
the libc crate, which changed a public function from `unsafe` to safe.

Fixes #4936.

* Update the system-interface audit for 0.23.

* Update the libc supply-chain config version.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cap-primitives no longer builds on Nightly for Windows

2 participants