Go to file
Andrew Kelley 984acae12d CI: use consistent relative/absolute paths for zig test commands
Standard library tests require the root source file to be the
corresponding file inside the Zig lib directory. In other words, there
may not be two copies of the standard library. After the changes in this
branch, Zig no longer notices that `../lib/std.zig` and
`$(pwd)/../lib/std.zig` are the same file because one is relative and
one is absolute.
2022-11-22 21:08:09 -07:00
.github ci: only run CI on pull requests and master branch pushes 2022-11-23 03:00:39 +01:00
ci CI: use consistent relative/absolute paths for zig test commands 2022-11-22 21:08:09 -07:00
cmake build: avoid compiling self-hosted twice 2022-10-18 16:52:43 -07:00
deps
doc packed struct fix example and clarify least to most significant ordering 2022-11-17 12:11:43 +02:00
lib std.fs.path.resolve: eliminate getcwd() syscall 2022-11-22 20:57:56 -07:00
src CLI: resolve zig lib directory before using it 2022-11-22 20:58:13 -07:00
test llvm: fix x86_64 sysV ABI of big vectors on avx512 enabled CPUs 2022-11-23 00:05:07 +02:00
tools outline atomics: ret instead of jump to ret 2022-11-21 17:17:02 -07:00
.gitattributes
.gitignore
build.zig build: remove ofmt from LibExeObjStep which is redundant with target.ofmt 2022-11-01 20:38:37 -04:00
CMakeLists.txt CI: build from old zig on x86_64-linux debug 2022-11-22 00:56:44 -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.