zigcli

Crates.iozigcli
lib.rszigcli
version0.1.0
sourcesrc
created_at2024-09-08 16:14:46.364313
updated_at2024-09-09 12:08:33.803796
descriptionA build dependency for running `zig` to build a native library
homepagehttps://github.com/fimoengine/zigcli-rs
repositoryhttps://github.com/fimoengine/zigcli-rs
max_upload_size
id1368349
size62,135
Gabriel Borrelli (GabeRealB)

documentation

https://docs.rs/zigcli

README

zigcli

A build dependency for running the zig build tool to compile a native library.

# Cargo.toml
[build-dependencies]
zigcli = "0.1.0"

The Zig executable is assumed to be zig unless the ZIG environmental variable is set.

Implementation status

The following commands of the zig build tool are available at the time of writing:

  • zig build
  • zig fetch
  • zig init
  • zig build-exe
  • zig build-lib
  • zig build-obj
  • zig test
  • zig run
  • zig ast-check
  • zig fmt
  • zig reduce
  • zig translate-c
  • zig ar
  • zig cc
  • zig c++
  • zig dlltool
  • zig lib
  • zig ranlib
  • zig objcopy
  • zig env
  • zig version

Caveats

  • The zig build system may introduce breaking changes at any moment. This utility tries to keep up to date with the master branch.
  • Cross compilation with cross is broken at the moment.

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in zigcli by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 0

cargo fmt