mirror of
https://github.com/ziglang/zig.git
synced 2024-11-15 00:26:57 +00:00
a4369918b1
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. |
||
---|---|---|
.. | ||
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_clang_options.zig | ||
update_cpu_features.zig | ||
update_glibc.zig | ||
update_spirv_features.zig | ||
update-license-headers.zig | ||
update-linux-headers.zig | ||
zig_gdb_pretty_printers.py |