# Rewrite \`generate_linux_syscalls\` to be completely table based · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/c5f10a3f7dc9705ffcc7868c3362fa77c7803585)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: c5f10a3f7dc9705ffcc7868c3362fa77c7803585

Requested commit: c5f10a3f7dc9705ffcc7868c3362fa77c7803585

Commit: c5f10a3f7dc9705ffcc7868c3362fa77c7803585

Tree: 27db0b4ef075261f6e87bc81abf78a1cdbee4997

Author: Stephen Gregoratto

Committer: Stephen Gregoratto

## Message

```
Rewrite `generate_linux_syscalls` to be completely table based

Changes by Arnd Bergmann have migrated all supported architectures to
use a table for their syscall lists. This removes the need to use the
C pre-processor and simplifies the logic considerably.

All currently supported architectures have been added, with the ones Zig
doesn't support being commented out. Speaking of; OpenRisc has been
enabled for generation.

```

## Parents

- [27d6614f81dfddcbd05b2a0b4afb8db83eaafb0b](https://git.cafe/gitcafe/zig/commit/27d6614f81dfddcbd05b2a0b4afb8db83eaafb0b?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/c5f10a3f7dc9705ffcc7868c3362fa77c7803585?format=markdown)
