rustbin

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 License: MIT Imports: 15 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunKonaNative added in v1.18.0

func RunKonaNative(t require.TestingT, logger log.Logger, vmConfig *vm.Config, dir string, inputs *utils.LocalGameInputs) bool

RunKonaNative runs kona-host in --native mode. Returns false if kona disagrees and true otherwise.

Types

type Spec

type Spec struct {
	SrcDir  string // directory name relative to monorepo root, e.g. "rollup-boost"
	Package string // cargo package name, e.g. "rollup-boost"
	Binary  string // binary name, e.g. "rollup-boost"
}

Spec describes a Rust binary to be built and located.

func (Spec) EnsureExists

func (s Spec) EnsureExists(ctx context.Context, logger log.Logger) (string, error)

EnsureExists locates or builds a Rust binary as needed.

Env var overrides (suffix derived from binary name, e.g. "rollup-boost" -> "ROLLUP_BOOST"):

  • RUST_BINARY_PATH_<BINARY>: absolute path to pre-built binary (skips build, must exist)
  • RUST_SRC_DIR_<BINARY>: overrides SrcDir (absolute path to cargo project root)

Build behavior:

  • RUST_JIT_BUILD=1: runs cargo build in debug mode (letting cargo handle rebuild detection)
  • Otherwise: only checks binary exists, errors if missing

Jump to

Keyboard shortcuts

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