File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed
Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change 1- //go:build linux && !baremetal && !darwin && !tinygo.wasm
1+ //go:build linux && !baremetal && !darwin && !tinygo.wasm && !arm64
2+
3+ // arm64 does not have a fork syscall, so ignore it for now
4+ // TODO: add support for arm64 with clone or use musl implementation
25
36package os
47
Original file line number Diff line number Diff line change 1+ //go:build linux && !baremetal && !darwin && !tinygo.wasm && aarch64
2+
3+ // arm64 does not have a fork syscall, so ignore it for now
4+ // TODO: add support for arm64 with clone or use musl implementation
5+
6+ package os
7+
8+ import (
9+ "errors"
10+ )
11+
12+ func fork () (pid int , err error ) {
13+ return 0 , errors .New ("fork not supported on aarch64" )
14+ }
15+
16+ func execve (pathname string , argv []string , envv []string ) (err error ) {
17+ return 0 , errors .New ("execve not supported on aarch64" )
18+ }
You can’t perform that action at this time.
0 commit comments