Help us shape the future of Go! Take the 2026 Go Developer Survey

corpussync

command
v0.21.2 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Command corpussync maintains the Rust naga test corpus vendored under snapshot/testdata (ADR-006).

Usage:

go run ./internal/cmd/corpussync sync -wgpu <gfx-rs/wgpu checkout> -out snapshot/testdata/rust
go run ./internal/cmd/corpussync manifest -dir <tree> -kind vendored|derived -repo <url> [flags]

sync replaces the vendored tree with the WGSL inputs, their TOML parameters, the SPIR-V/MSL/HLSL/GLSL/IR outputs and the license files of the checkout's HEAD commit, read from git objects, and writes MANIFEST.json. The checkout must be clean.

manifest (re)writes MANIFEST.json for an existing tree from explicit source flags. Use it for derived trees after regenerating them; a vendored tree is written by sync.

Jump to

Keyboard shortcuts

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