Skip to content

Commit

Permalink
✨ Remove workspaces
Browse files Browse the repository at this point in the history
These long unused files can finally be removed entirely.
  • Loading branch information
aaronmondal committed May 13, 2024
1 parent e0c1e4d commit d1c8689
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Don't inherit PATH and LD_LIBRARY_PATH.
build --incompatible_strict_action_env

# Don't use the legacy workspace system.
build --noenable_workspace

# Enforce C++20 as the default for rules_cc, regardless of toolchain config.
build --cxxopt=-std=c++20 --host_cxxopt=-std=c++20

Expand Down
1 change: 0 additions & 1 deletion WORKSPACE.bazel

This file was deleted.

3 changes: 3 additions & 0 deletions examples/.bazelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Don't inherit PATH and LD_LIBRARY_PATH.
build --incompatible_strict_action_env

# Don't use the legacy workspace system.
build --noenable_workspace

# Enforce C++20 as the default for rules_cc, regardless of toolchain config.
build --cxxopt=-std=c++20 --host_cxxopt=-std=c++20

Expand Down
Empty file removed examples/WORKSPACE.bazel
Empty file.
3 changes: 3 additions & 0 deletions templates/default/.bazelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Don't inherit PATH and LD_LIBRARY_PATH.
build --incompatible_strict_action_env

# Don't use the legacy workspace system.
build --noenable_workspace

# Enforce C++20 as the default for rules_cc, regardless of toolchain config.
build --cxxopt=-std=c++20 --host_cxxopt=-std=c++20

Expand Down
1 change: 0 additions & 1 deletion templates/default/WORKSPACE.bazel

This file was deleted.

0 comments on commit d1c8689

Please sign in to comment.