aotgen

command
v0.0.0-...-aaf2ed9 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2026 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Command aotgen emits AOT-compiled Ruby methods as real *VM methods into internal/vm/aot_e2e_gen_test.go, each paired with the reference MRI's output for the same program, captured at generation time. The committed driver (aot_e2e_test.go) runs each compiled method and diffs its result against that baked oracle — proving the generated Go behaves identically to the reference interpreter, with no ruby dependency (and no ruby-version skew) at test time.

Regenerate with: go generate ./internal/vm/... (needs MRI ruby on the host).

Jump to

Keyboard shortcuts

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