-
Notifications
You must be signed in to change notification settings - Fork 18k
net/http: bundle invocation without -dst is fragile #25285
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
Comments
I'm inclined to say that you're holding it wrong. That tool has had approximately 1-2 users. Now maybe 1-3. I don't think it's worth the effort changing the tool to be more accommodating to more (uncommon?) configurations. But if you want to, all yours. |
Definitely not a Go 1.11 blocker by any means. |
The tool already has the feature, this is only here to remember to add |
I don't understand this issue. When the -dst flag is not specified, bundle uses the package in the current working directory. The It's possible there was an issue here in the past, but I don't think there's anything to do here after #32031 is fixed (by CL 189818). @FiloSottile I suggest we close this unless you think this still needs to be done (if so, please explain). |
Probably obsoleted, closing. |
The bundle invocation in the net/http go:generate for h2 does not have a
-dst
flag. So it breaks when bundle was not built with the toolchain associated with the target net/http package, as the embedded GOROOT is wrong. When developing the standard library it's fairly common[citation needed] to use a different system compiler to go get binaries, so it's probably worth adding-dst
at the next run./cc @bradfitz
The text was updated successfully, but these errors were encountered: