rust

package
v0.0.0-...-0effba1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2023 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Overview

Package rust uses templates to render a Plan document as Rust code.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateKernelCode

func GenerateKernelCode(w io.Writer, file *types.File, arch types.Arch, rustfmt string) error

GenerateKernelCode generates the kernel's implementation, of the Plan document to w, using the rustfmt tool at the given path.

func GenerateSharedCode

func GenerateSharedCode(w io.Writer, file *types.File, arch types.Arch, rustfmt string) error

GenerateSharedCode generates the shared data structures of the Plan document to w, using the rustfmt tool at the given path.

func GenerateUserCode

func GenerateUserCode(w io.Writer, file *types.File, arch types.Arch, rustfmt string) error

GenerateUserCode generates the user implementation, of the Plan document to w, using the rustfmt tool at the given path.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL