Source file src/cmd/go/internal/work/exportpipe_other.go
1 // Copyright 2026 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 //go:build cmd_go_bootstrap || (!unix && !windows) 6 7 package work 8 9 import "errors" 10 11 const earlyExportSupported = false 12 13 type exportPipe struct{} 14 15 func newExportPipe(objdir string) (*exportPipe, error) { 16 return nil, errors.ErrUnsupported 17 } 18 19 func (ep *exportPipe) name() string { return "" } 20 func (ep *exportPipe) wait() error { return errors.ErrUnsupported } 21 func (ep *exportPipe) close() {} 22