github.com/eh-steve/goloader@v0.0.0-20240111193454-90ff3cfdae39/obj/pe_relocs.1.18.go (about) 1 //go:build go1.18 && !go1.19 2 // +build go1.18,!go1.19 3 4 package obj 5 6 import ( 7 "cmd/objfile/archive" 8 "debug/pe" 9 "fmt" 10 ) 11 12 func (pkg *Pkg) convertPERelocs(f *pe.File, e archive.Entry) error { 13 return fmt.Errorf("no support for PE relocs on go1.18 (yet)") 14 }