You've already forked object-testfiles
mirror of
https://github.com/encounter/object-testfiles.git
synced 2026-07-10 12:18:40 -07:00
macho: add go binaries (#14)
This commit is contained in:
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
+13
@@ -0,0 +1,13 @@
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
|
||||
var helloWorld = "Hello, World!"
|
||||
|
||||
func foo() {
|
||||
fmt.Println(helloWorld)
|
||||
}
|
||||
|
||||
func main() {
|
||||
foo()
|
||||
}
|
||||
Executable
+4
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
GOTOOLCHAIN=go1.22.4 GOOS=darwin GOARCH=arm64 go build -o go-aarch64 go.go
|
||||
GOTOOLCHAIN=go1.22.4 GOOS=darwin GOARCH=amd64 go build -o go-x86_64 go.go
|
||||
Reference in New Issue
Block a user