14 lines
353 B
Go
14 lines
353 B
Go
// Copyright (c) 2026 Petr Balvín <opensource@petrbalvin.org> (https://petrbalvin.org)
|
|||
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
||
|
|
|
||
|
|
//go:build !amd64
|
||
|
|
|
||
|
|
package verify
|
||
|
|
|
||
|
|
import "fmt"
|
||
|
|
|
||
|
|
// Call is unavailable on non-amd64 architectures.
|
||
|
|
func Call(fnAddr uintptr, args []byte) ([]byte, error) {
|
||
|
|
return nil, fmt.Errorf("verify: JIT execution requires amd64")
|
||
|
|
}
|