Skip to content

A Zig version of the Rust book's minigrep tutorial program

License

Notifications You must be signed in to change notification settings

tristanisham/minigrep-zig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minigrep (in Zig)

This project recreates the mini-grep I/O project from the Rust Book in Zig.

Install

$ git clone https://github.com/tristanisham/minigrep-zig; cd minigrep-zig

Need to install Zig? Try ZVM.

Run the program

$ zig build run -- "query" ./path/to/file

You can also find your compiled binary in zig-out.

Build for Release

zig build -Doptimize=ReleaseFast

About

A Zig version of the Rust book's minigrep tutorial program

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages