diff options
| author | Stephen Gregoratto <dev@sgregoratto.me> | 2022-05-14 19:42:31 +1000 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-05-16 23:55:11 -0400 |
| commit | a4369918b19e4920f51f40a2b05781dda45462f7 (patch) | |
| tree | 191bce0ce71a418575909ea73b6e193d5f4a800f /lib/std/priority_queue.zig | |
| parent | 6d27341b96240a4ae70c794eb05dec452fd31451 (diff) | |
| download | zig-a4369918b19e4920f51f40a2b05781dda45462f7.tar.gz zig-a4369918b19e4920f51f40a2b05781dda45462f7.zip | |
Generate linux syscalls via. the linux source tree
Previously, updating the `SYS` enum for each architecture required
manually looking at the syscall tables and inserting any new additions.
This commit adds a tool, `generate_linux_syscalls.zig`, that automates
this process using the syscall tables in the Linux source tree. On
architectures without a table, it runs `zig cc` as a pre-processor to
extract the system-call numbers from the Linux headers.
Diffstat (limited to 'lib/std/priority_queue.zig')
0 files changed, 0 insertions, 0 deletions
