mirror of
https://github.com/github/codeql.git
synced 2025-12-16 08:43:11 +01:00
We've been observing some performance issues using crate_universe on CI. Therefore, we're moving to vendor the auto-generated BUILD files in our repository. This should provide a nice speed boost, while getting rid of the complexity of the "rust cache" job we've been using when we had a lot of git dependencies. This PR includes a vendor script, and I'll put up a CI job internally that runs that vendor script on Cargo.toml and Cargo.lock changes, to check that the vendored files are in sync.
11 lines
600 B
Plaintext
11 lines
600 B
Plaintext
# this file should contain bazel settings required to build things from `semmle-code`
|
|
|
|
common --registry=file:///%workspace%/ql/misc/bazel/registry
|
|
common --registry=https://bcr.bazel.build
|
|
|
|
# See bazelbuild/rules_dotnet#413: strict_deps in C# also appliy to 3rd-party deps, and when we pull
|
|
# in (for example) the xunit package, there's no code in this at all, it just depends transitively on
|
|
# its implementation packages without providing any code itself.
|
|
# We either can depend on internal implementation details, or turn of strict deps.
|
|
common --@rules_dotnet//dotnet/settings:strict_deps=false
|