Comments (3)
Do you have a reproducer you can share? I didn't manage to reproduce this in the "obvious" way, trying to bazel build
a registered nogo
target.
If you can't isolate the failure, could you run bazel config ID1 ID2
on the configuration IDs right next to the targets in the cycle? The config differences should help us track this down.
from rules_go.
I'm almost certain that this is something stupid that i've done 😄. I can reproduce the error in this silly toy repo: https://github.com/alirankine-dojo/bazeltest
from rules_go.
@alirankine-dojo You need to point the go_sdk.nogo
tag to a target of the nogo
rule, not a go_binary
. See https://github.com/bazelbuild/rules_go/blob/master/go/nogo.rst for how to define such a target.
from rules_go.
Related Issues (20)
- review Go analysis.Pass.Module proposal
- [Bazel CI] Test failure gopackagesdriver_test with Bazel@HEAD in CI HOT 4
- On build error, the actual failure is drowned out by a lot of noise related to the build command HOT 2
- Dependency cycle with google.golang.org/protobuf 1.33.0 HOT 4
- Support --incompatible_enable_proto_toolchain_resolution HOT 6
- Somewhat slow runs for clean builds of rules_go builder and stdlib HOT 1
- `@rules_go//go get` should trigger `bazel mod tidy`
- Access debug.BuildInfo for Go Binaries HOT 2
- Helix GOPLS Configuration Out of Date HOT 3
- Dependency cycle after go_proto_reset_plugin_ HOT 6
- [help] neovim `gopls` settings out of date HOT 2
- Setting `--compilation_mode=opt` results in a binary with debug info + symbol table not being stripped HOT 2
- setting `extldflags` as flag does not parse properly HOT 1
- nogo not populating Go version in analysis pass
- Hello World for Golang is a bit difficult.
- gc_goopts seems buggy or has unexpected behavior
- Unable to get io_bazel_rules_go to work with a custom c++ toolchain HOT 1
- Rules_go 0.47.0 downgraded the gomock dependency from 1.7.0-rc1 to 1.6.0, which broke support for generics in mocks HOT 1
- How to test an analysis.Analyzer?
- Differentiate compile actions under go_test
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rules_go.