Comments (3)
You can use the x_defs
attribute on go_binary
and go_library
.
from rules_go.
@fmeum x_defs can indeed be implemented, but I use bazel_gazelle to generate BUILD.bazel. I donβt want to maintain BUILD.bazel separately. Is there any way for gazelle to solve this kind of custom parameter setting?
from rules_go.
Gazelle should maintain your local edits
from rules_go.
Related Issues (20)
- rules_go 0.40+ broke gopls resolving stdlib imports in VS code HOT 4
- Bazel 7.0.0rc2 fails to build `gomock` rules HOT 2
- Improvement/feature request: consider allowing process under test to timeout BEFORE Bazel-level `--test_timeout` HOT 2
- `aux_files` incorrect behavior in source gomocks HOT 2
- Go1.22 (devel) packages with assembly source files do not link due to ABI mismatch
- An error occurred during the fetch of repository 'bazel_gazelle_go_repository_tools'
- Nogo should use original source file instead of coverage instrumented ones for static analysis
- Compiling as static pie doesn't work via bazel, but works with the go command
- nogo nolint comments don't work across dependencies when using nilaway HOT 9
- go_cover cannot be used in the remote execution
- GitHub Action, Windows, Bazel 7.0.0rc7 Fails to Build: builder.exe.bat failed: error executing GoToolchainBinaryBuild command
- Broken link in repositories.bzl - causes spurious warning
- Exposing folder to go_binary HOT 1
- gazelle resolve directives not working HOT 1
- Bazel 7: cgo actions should depends on apple_support
- cgo=0 of github.com/cloudflare/circl does not compile HOT 1
- 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
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.