GitShow/denoland/libuv-sys-lite
denoland

libuv-sys-lite

Tiny rust bindings to libuv, letting you decide how to link to it

by denoland
Star on GitHubFork

Rust

0 stars3 forks2 contributorsActive · 1w agoSince 2024

Meet the team

See all 2 on GitHub →
nathanwhit
nathanwhit66 contributions
bartlomieju
bartlomieju1 contribution

Languages

View on GitHub →
Rust84.9%
C14.8%
TypeScript0.2%
JavaScript0.1%

Commit activity

Last 12 weeks · 3 commits

Full graph →

Community health

2 of 6 standards met

Community profile →
37
✓README✓License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Active · 1 in progress · Last activity 1w ago
See all on GitHub →
CAB233
Update bindgen to 0.72.1OpenPR

Fix binding generation with newer LLVM on architectures without prebuilt bindings.

CAB233 · 1w ago

Recent fixes

View closed PRs →
bartlomieju
Add pregenerated bindings for windows-aarch64MergedPR

Without pregenerated bindings, windows-aarch64 builds fall back to running bindgen at build time. GitHub's windows-11-arm64 runner image recently bumped LLVM 20 to 22, and bindgen 0.70 (clang-sys 1.8, which predates LLVM 22) silently generates unusable bindings against the new libclang — opaque size-1 structs and missing / — so the crate fails to compile. This is currently breaking denoland/deno CI, which uses this crate via ext/napi and builds natively on windows-11-arm runners (denoland/deno#36836; deno is carrying a vendored copy of this exact change in denoland/deno#36845 until a release with it exists). The bindings are copied from rather than generated on an arm64 machine: every field type libuv uses on Windows (HANDLE, SOCKET, ULONG_PTR, CRITICAL_SECTION, CONDITION_VARIABLE, ...) has an identical layout on both architectures, and the generated layout assertions verify that at compile time. Checked with . I deliberately didn't add a windows-aarch64 entry to the bindgen.yml workflow: generating on the current windows-11-arm runners would hit the same broken bindgen/libclang combination this PR works around. Could you cut a release with this when it lands? deno would then drop its vendored copy and pin the new version.

bartlomieju · 1w ago
nathanwhit
include generated bindings for common environmentsMergedPR

Fixes #1

nathanwhit · 1y ago
stefnotch
Check bindings.rs into repositoryClosedIssue

I tried building Deno, which depends on this library https://github.com/denoland/deno/issues/27535 At which point I ran into From what I understand, this project depends on , which in turn depends on clang. Installing extra dependencies on Windows can be quite tricky. I also noticed that does not have a file, and instead has the generated bindings in the repository. Would it be reasonable for this project to do the same? If yes, I can try to provide a pull request. System: Windows 10

stefnotch · 1y ago
Structured data for AI agents

Repository: denoland/libuv-sys-lite. Description: Tiny rust bindings to libuv, letting you decide how to link to it Stars: 0, Forks: 3. Primary language: Rust. Languages: Rust (84.9%), C (14.8%), TypeScript (0.2%), JavaScript (0.1%). Open PRs: 1, open issues: 0. Last activity: 1w ago. Community health: 37%. Top contributors: nathanwhit, bartlomieju.

·@ofershap

Replace github.com with gitshow.dev