github muhammad-fiaz/args.zig 0.0.1
V0.0.1

latest releases: 0.0.9, 0.0.8, 0.0.7...
11 months ago

Option A — Automatic (Recommended)

Run this to install the dependency and automatically save the hash:

zig fetch --save https://github.com/muhammad-fiaz/args.zig/archive/refs/tags/0.0.1.tar.gz

After running, Zig updates your build.zig.zon with something like:

.dependencies = .{
    .args = .{
        .url = "https://github.com/muhammad-fiaz/args.zig/archive/refs/tags/0.0.1.tar.gz",
        .hash = "args-0.0.1-8hzgbmqCAgDy5AauLMH7cns6C4yEC1-heEOJT7uNr8AU",
    },
},

Option B — Manual

zig fetch --hash https://github.com/muhammad-fiaz/args.zig/archive/refs/tags/0.0.1.tar.gz

Copy that hash into:

.hash = "<your_hash_here>" // which is args-0.0.1-8hzgbmqCAgDy5AauLMH7cns6C4yEC1-heEOJT7uNr8AU

⬇️ Downloads (Prebuilt Library)

Platform Architecture File
Windows x86_64 args-x86_64-windows.lib
Windows x86 args-x86-windows.lib
Linux x86_64 libargs-x86_64-linux.a
Linux x86 libargs-x86-linux.a
Linux aarch64 (ARM64) libargs-aarch64-linux.a
macOS x86_64 (Intel) libargs-x86_64-macos.a
macOS aarch64 (Apple Silicon) libargs-aarch64-macos.a
Bare Metal x86_64 libargs-x86_64-freestanding.a
Bare Metal aarch64 libargs-aarch64-freestanding.a
Bare Metal RISC-V 64 libargs-riscv64-freestanding.a
Bare Metal ARM libargs-arm-freestanding.a

🛠️ Using Prebuilt Libraries

  1. Download the library for your platform.
  2. Place it in your project (e.g., in a libs/ folder).
  3. Update your build.zig:
// Assuming you placed the library in `libs/`
exe.addLibraryPath(b.path("libs"));
exe.linkSystemLibrary("args");

Don't miss a new args.zig release

NewReleases is sending notifications on new releases.