Comments (2)
It is a bug fixed in v0.0.3. You can built the test program if you update rules_go
to 0.0.3.
However I noticed there is another bug that the test driver tries to invoke /bin/test
instead of your test program and it exits with 1.
I'll fix this bug later, but you can avoid this bug by defining your test program in a subpackage as a workaround.
from rules_go.
It looked to be a bug of Bazel rather than a bug of rules_go
.
I have reported the bug at bazelbuild/bazel#1443
from rules_go.
Related Issues (20)
- rules_go bumps the version of google.golang.org/genproto required by root module
- gopackagesdriver: returns roots for incompatible targets
- rules_go-v0.44.0.zip and rules_go-v0.44.1.zip missing from mirror.bazel.build HOT 3
- Nogo stuck in dependency cycle when using bzlmod HOT 3
- Is there a way to specify env vars for the go toolchain? HOT 6
- Make MODULE.bazel.lock file have the same contents no matter the platform bazel is executed on HOT 1
- Breaking change on v0.44.1 -> v0.44.2 with missing bazel_features dependency
- Coverage is not working if `os` module is used in test HOT 3
- Error while fetching external dependence HOT 7
- nogo: golink uses the wrong cc linker on MacOS with DEVELOPER_DIR set HOT 1
- nogo fails using WORKSPACE.bazel after upgrade to 0.45.0 HOT 3
- Getting a runfiles directory with runfiles.Rlocation instead of bazel.Runfile HOT 3
- Problem with go_googleapis after upgrade rules_go >= v0.41.0 HOT 1
- Format code at the end of code gen
- Flip GO_TEST_WRAP_TESTV default HOT 6
- nogo: Allow not running analyzers for certain packages HOT 7
- Compile error with g++ HOT 2
- โ#gazelle:proto fileโ directive isnโt usable unless option go_package is explicitly set in each proto_library
- "GOPROXY list is not the empty string, but contains no entries" error when using golang 1.21 HOT 1
- GOPACKAGEDRIVERS generates an "invalid use of internal package" false positive when testing an internal package. HOT 4
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.