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
cmd/link: -ldflags -X does not allow values with spaces #16743
Please answer these questions before submitting your issue. Thanks!
The linker doesn't like spaces in the value. In 1.6 this could be worked around by not using the equal sign, but that form is no longer allowed in 1.7
EDIT: Should note, I've tried all combinations of single-quote/double-quote/no-quote I could think of, none seem to work