variadic-test

command
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Command variadic-test compiles the bundled C test library and exercises PrepareVariadicCallInterface on the current platform.

On Apple ARM64 the key invariant under test is that variadic arguments are passed on the stack (not in registers), per Apple's AAPCS64 extension. On all other platforms the call is functionally identical to a normal PrepareCallInterface call.

Usage:

go run github.com/go-webgpu/goffi/cmd/variadic-test

Exit code 0 = PASS, 1 = FAIL.

Jump to

Keyboard shortcuts

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