Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to custom FileTypeExt traits. #271

Merged
merged 4 commits into from
Aug 23, 2022
Merged

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
1 participant