Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
go/build: sourcehut requires characters considered unsafe for cgo names #32260
build.go has a set of safe characters which can be present in CFLAGS:
Sourcehut packages always have
~ has a special meaning in the shell, but it is URL safe and, per the comments in build.go, this string is never expanded with a shell.
EDIT: added permalink