Skip to content

Incorporate code from rustix #35

@niluxv

Description

@niluxv

The rustix crate includes an extensive (private) module for using syscalls on Linux. It includes:

  • syscalls working on stable using asm! for all it's targets (the inline module)
  • syscalls working on older compilers by linking in precompiled binaries or compiling assembly files in build.rs using a C compiler (the outline module)
  • an extensive type and trait system around the syscall functions to improve type-safety

Given the current state of the sc crate, would it make sense to incorporate code from rustix?

Note: I'm not affiliated with rustix or the Bytecode Alliance in any way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions