Go to file
Andrew Kelley 56129d26eb cmake: build stage3 by default
This is a simplification of the cmake build script which introduces a
new "stage3" target that is built by default, which builds and installs
a stage3 zig.

It greatly simplifies the build instructions for Zig, making it conform
to the regular cmake routine, while still producing a stage3 artifact.
2022-08-28 17:07:21 -07:00
.builds
.github
ci cmake: build stage3 by default 2022-08-28 17:07:21 -07:00
cmake cmake: build stage3 by default 2022-08-28 17:07:21 -07:00
deps
doc docs: Remove mention of type inference on anytype struct fields 2022-08-27 20:34:13 +02:00
lib std.random: add weightedIndex function 2022-08-28 14:19:51 +03:00
src autodoc: better line counting for decls 2022-08-27 22:48:18 +02:00
test Sema: add error for non-comptime param in comptime func 2022-08-27 11:17:48 +03:00
tools stage2+stage1: remove type parameter from bit builtins 2022-08-22 11:19:20 +03:00
.gitattributes
.gitignore
build.zig
CMakeLists.txt cmake: build stage3 by default 2022-08-28 17:07:21 -07:00
LICENSE
README.md

ZIG

A general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

Resources

Installation

License

The ultimate goal of the Zig project is to serve users. As a first-order effect, this means users of the compiler, helping programmers to write better software. Even more important, however, are the end-users.

Zig is intended to be used to help end-users accomplish their goals. Zig should be used to empower end-users, never to exploit them financially, or to limit their freedom to interact with hardware or software in any way.

However, such problems are best solved with social norms, not with software licenses. Any attempt to complicate the software license of Zig would risk compromising the value Zig provides.

Therefore, Zig is available under the MIT (Expat) License, and comes with a humble request: use it to make software better serve the needs of end-users.

This project redistributes code from other projects, some of which have other licenses besides MIT. Such licenses are generally similar to the MIT license for practical purposes. See the subdirectories and files inside lib/ for more details.