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.
Click to show internal directories.
Click to hide internal directories.