mirror of
https://github.com/golang/go
synced 2024-11-21 20:54:45 -07:00
go/build: use back quotes for regular expression
R=adg CC=golang-dev https://golang.org/cl/4643045
This commit is contained in:
parent
eaa082f691
commit
8155ff5452
@ -348,7 +348,7 @@ func (b *build) gccArgs(args ...string) []string {
|
||||
return append(a, args...)
|
||||
}
|
||||
|
||||
var cgoRe = regexp.MustCompile("[/\\:]")
|
||||
var cgoRe = regexp.MustCompile(`[/\\:]`)
|
||||
|
||||
func (b *build) cgo(cgofiles []string) (outGo, outObj []string) {
|
||||
// cgo
|
||||
|
Loading…
Reference in New Issue
Block a user