New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/go: cannot use ldflags containing spaces #3941
Labels
Milestone
Comments
can we allow -ldflags to appear more than one? then we can do this: go run -ldflags -X -ldflags main.VERSION -ldflags "hello world" main.go another alternative is: go run -ldflags -- -X main.VERSION "hello world" -- main.go I prefer we don't embed several arguments into a single argument. personally, i like the second alternative. |
This issue was closed by revision 8b6534b. Status changed to Fixed. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: