mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
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. |
History
|
|
|---|---|---|
| .. | ||
| spirv | ||
| gen_spirv_spec.zig | ||
| gen_stubs.zig | ||
| generate_linux_syscalls.zig | ||
| merge_anal_dumps.zig | ||
| process_headers.zig | ||
| stage1_gdb_pretty_printers.py | ||
| stage2_gdb_pretty_printers.py | ||
| std_gdb_pretty_printers.py | ||
| update-license-headers.zig | ||
| update-linux-headers.zig | ||
| update_clang_options.zig | ||
| update_cpu_features.zig | ||
| update_glibc.zig | ||
| update_spirv_features.zig | ||
| zig_gdb_pretty_printers.py | ||