tree: 79c87be69b577ca4f5e81887e859265819e73c2a [path history] [tgz]
  1. templates/
  2. BUILD.gn
  3. README.md
  4. rust_syscall.go
zircon/tools/zither/backends/rust_syscall/README.md

The Zither Rust Syscall Backend

The Zither Rust syscall backend is responsible for generating thin FFI syscall wrappers, derived from the FIDL syscall specifications of library zx.

Output layout

A crate of name fuchsia-zircon-sys is generated, but has no particularly documented layout.

GN integration

${fidl_target}_zither.rust_syscall generates a rustc_library() target defining the crate.

Bindings

Any declaration type not mentioned below is ignored.

Syscalls

Each syscall declaration yields one FFI wrapper in the crate.