Skip to content

Commit

Permalink
Enable sandboxing for swift builds
Browse files Browse the repository at this point in the history
Prevents issues with non-hermetic bugs like
bazelbuild#865.
  • Loading branch information
thii committed Jul 27, 2022
1 parent 4ab0e56 commit 7bc329d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ build --macos_minimum_os=10.15

# Make sure no warnings slip into the C++ tools we vendor
build --features treat_warnings_as_errors

# The default strategy is worker, which has sandboxing disabled by default,
# which can hide issues with non-hermetic bugs.
build --strategy=SwiftCompile=sandboxed

0 comments on commit 7bc329d

Please sign in to comment.