docs.rs failed to build libxev-sys-0.0.1-rc.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
libxev-sys
Low-level FFI bindings to libxev.
The libxev source is vendored under vendor/libxev. The
build.rs script:
- Invokes
zig build -Doptimize=ReleaseFastinside the vendored tree, writing artifacts into Cargo'sOUT_DIR. - Links the resulting static
libxev.a(-lxev) into the crate. - Runs
bindgenagainstvendor/libxev/include/xev.hand writesbindings.rsintoOUT_DIR, whichsrc/lib.rsinclude!s.
Requirements
The build script shells out to a zig binary, so you need a Zig toolchain on
PATH (override with the ZIG environment variable). The vendored libxev
sources currently require Zig ≥ 0.16.0. bindgen additionally needs
libclang available on your system (e.g. apt install libclang-dev).
Features
debug— compile libxev with Zig'sDebugoptimization instead of the defaultReleaseFast.
Generated symbols
All xev_* functions/types and XEV_* constants from include/xev.h are
re-exported at the crate root. Higher-level Rust APIs live in the
libxev crate.