Commit Graph

18 Commits

Author SHA1 Message Date
Isaac Freund 9f9f215305 stage1, stage2: rename c_void to anyopaque (#10316)
zig fmt now replaces c_void with anyopaque to make updating
code easy.
2021-12-19 00:24:45 -05:00
Andrew Kelley 6115cf2240 migrate from std.Target.current to @import("builtin").target
closes #9388
closes #9321
2021-10-04 23:48:55 -07:00
Andrew Kelley a2ff3a13fe std, compiler-rt: remove test names where applicable
Tests with no names are executed when using `zig test` regardless of the
`--test-filter` used. Non-named tests should be used when simply
importing unit tests from another file. This allows `zig test` to find
all the appropriate tests, even when using `--test-filter`.
2021-09-01 17:54:06 -07:00
Andrew Kelley d29871977f remove redundant license headers from zig standard library
We already have a LICENSE file that covers the Zig Standard Library. We
no longer need to remind everyone that the license is MIT in every single
file.

Previously this was introduced to clarify the situation for a fork of
Zig that made Zig's LICENSE file harder to find, and replaced it with
their own license that required annual payments to their company.
However that fork now appears to be dead. So there is no need to
reinforce the copyright notice in every single file.
2021-08-24 12:25:09 -07:00
LemonBoy e44b55b072 std: Fix some BPF fn definitions
Cros-checked with bpf.h of kernel 5.12.9.
2021-06-06 20:41:14 -04:00
Michael Dusan 8cebbc352a housekeeping: builtin.arch → builtin.cpu.arch 2021-05-24 13:38:47 -04:00
Veikka Tuominen fd77f2cfed std: update usage of std.testing 2021-05-08 15:15:30 +03:00
Matt Knight 8530b6b724 fix import path 2021-04-24 13:35:55 -04:00
Frank Denis 6c2e0c2046 Year++ 2020-12-31 15:45:24 -08:00
Tadeo Kondrak 2b4b03d301 Update zig files for opaque type syntax 2020-10-06 22:08:25 -06:00
Matt Knight 88dacd3b70 changed to opaque 2020-09-13 09:53:20 -07:00
Matt Knight 1afbf4fb21 removed all those kern aliases 2020-09-13 09:43:49 -07:00
Matt Knight cb5f76bb1c got booleans wrong 2020-09-13 09:24:56 -07:00
Matt Knight b043a31889 added helper definitions 2020-09-12 23:45:35 -07:00
Matt Knight b878a64a5f added license comments 2020-09-07 12:26:41 -07:00
Matt Knight cf3194804e changed enums to lower case 2020-09-07 07:17:21 -07:00
Matt Knight e7547eeefa fixed missing 'packed' keyword 2020-09-06 22:31:35 -07:00
Matt Knight caaa9ad2af added btf 2020-09-06 21:44:16 -07:00