bazel
bazel copied to clipboard
a fast, scalable, multi-language and extensible build system
### Description of the bug: When calling `apple_common.link_multi_arch_binary` and providing `avoid_deps`, the targets in `avoid_deps` are correctly not linked, but any `linkopts` they carry still get applied to the link....
To ensure we can use repo mappings in the runfiles library, this change writes an extra file "my_binary_target.runfiles/_repo_mapping", which contains a bunch of (base_repo_canonical_name, apparent_repo_name, canonical_repo_name) triples. See https://github.com/bazelbuild/proposals/blob/main/designs/2022-07-21-locating-runfiles-with-bzlmod.md for...
`HOME=not/a/directory bazel --output_user_root=bogus info` used to succeed in giving informative output. However, as of a few weeks ago, this causes Bazel server to crash with **no error**. ``` $ HOME=not/a/directory...
### Description of the bug: Using the `:all` target with `register_toolchain` should register all the toolchains in the package. However, when the package contains aliases to toolchains this no longer...
Hello wonderful Bazelers, This PR updates the Autocomplete for Source Code section of the IDE docs in two ways: 1. Following on from #14448 (merged), it more precisely describes the...
### Description of the bug: This is a follow-up to #12897. The fix (#14096) doesn't address the original problem when `platform_mappings` is in use. When not using `platform_mappings`, there is...
We see this flake occasionally on macOS: ``` FATAL: failed to create installation symlink '/private/var/tmp/_bazel_iosci/4988be46b65c576ca5906aacc315f576/install': (error: 2): No such file or directory ``` ### Bugs: what's the simplest, easiest way...