-
Notifications
You must be signed in to change notification settings - Fork 650
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
Define GOOS_<goos> and GOARCH_<goarch> for assembly #1894
Comments
Cannot build https://github.com/thrift-iterator/go due to this limitation. On of it's dependencies (https://github.com/v2pro/plz) relies on GOARCH_<goarch> |
patrickmscott
pushed a commit
to patrickmscott/rules_go
that referenced
this issue
Apr 11, 2023
Fixes bazelbuild#1894 by adding GOOS_ GOARCH_ and GOOS_GOARCH_ defines for building assembly.
patrickmscott
pushed a commit
to patrickmscott/rules_go
that referenced
this issue
Apr 11, 2023
Fixes bazelbuild#1894 by adding GOOS_ GOARCH_ and GOOS_GOARCH_ defines for building assembly.
fmeum
pushed a commit
to patrickmscott/rules_go
that referenced
this issue
Apr 13, 2023
Fixes bazelbuild#1894 by adding GOOS_ GOARCH_ and GOOS_GOARCH_ defines for building assembly.
fmeum
pushed a commit
that referenced
this issue
Apr 13, 2023
* Add defines for assembly build Fixes #1894 by adding GOOS_ GOARCH_ and GOOS_GOARCH_ defines for building assembly. * Return a copy of args * Use build.Default variables for os and arch Add a compilation test that uses another architecture with conditional inclusion of an assembly function. This mimics a real library that fails to build under rules_go. --------- Co-authored-by: Patrick Scott <patrick.scott@observeinc.com>
linzhp
pushed a commit
that referenced
this issue
Apr 20, 2023
* Add defines for assembly build Fixes #1894 by adding GOOS_ GOARCH_ and GOOS_GOARCH_ defines for building assembly. * Return a copy of args * Use build.Default variables for os and arch Add a compilation test that uses another architecture with conditional inclusion of an assembly function. This mimics a real library that fails to build under rules_go. --------- Co-authored-by: Patrick Scott <patrick.scott@observeinc.com>
tingilee
pushed a commit
to tingilee/rules_go
that referenced
this issue
Jul 19, 2023
* Add defines for assembly build Fixes bazelbuild#1894 by adding GOOS_ GOARCH_ and GOOS_GOARCH_ defines for building assembly. * Return a copy of args * Use build.Default variables for os and arch Add a compilation test that uses another architecture with conditional inclusion of an assembly function. This mimics a real library that fails to build under rules_go. --------- Co-authored-by: Patrick Scott <patrick.scott@observeinc.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
go build
does this. We should, too.Example:
The text was updated successfully, but these errors were encountered: