Skip to content

tools/generate_linux_syscalls.zig could be cleaned up to be table-driven #20801

Description

@alexrp

As I'm adding more architectures to this, it's starting to become a bit much to just copy/paste all the code for the old syscall table approach and the new C preprocessor approach.

If anyone feels like it, it should be fairly easy to clean this tool up to be table-driven, with only a few lines of special-casing for some architectures.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    contributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.enhancementSolving this issue will likely involve adding new logic or components to the codebase.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions