diff options
Diffstat (limited to 'internal/rosa')
| -rw-r--r-- | internal/rosa/go.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/internal/rosa/go.go b/internal/rosa/go.go index 1127cf3d..fb588724 100644 --- a/internal/rosa/go.go +++ b/internal/rosa/go.go @@ -66,13 +66,18 @@ func init() { Exclude: true, } builtin.MustRegister(meta.Name, func(t Toolchain) (*Metadata, pkg.Artifact) { + if t.cross() { + panic(CrossError("go-bootstrap")) + } + var ( bootstrapEnv []string bootstrapEarly []pkg.Artifact finalEnv []string ) - switch t.arch { + + switch arch := t.Arch(); arch { case "amd64": bootstrapEarly = []pkg.Artifact{t.New("go", "1.4-bootstrap", newTar( "https://dl.google.com/go/go1.4-bootstrap-20171003.tar.gz", |
