rules_foreign_cc
rules_foreign_cc copied to clipboard
Fix compatibility with `--incompatible_sandbox_hermetic_tmp`
Instead of only replacing symlinks of declared output files, now we need
to replace symlinks of everything in the declared tree artifact. Without
this, Bazel 7 would fail when it verifies the tree artifact contents,
which would contain dangling symlinks when building with
--incompatible_sandbox_hermetic_tmp
.
Fixes https://github.com/bazelbuild/rules_foreign_cc/issues/1129