-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR #2483: Bazel build support for building rust and beto-core targets
Imported from GitHub PR #2483 This adds the necessary build rules to build with the LDT rust implementation in bazel, currently it is compiled out by a compiler flag. This also updates the C++ standard to C++20 in order to be compatible with beto-core's targets Copybara import of the project: -- b28eabb by Nabil Wadih <[email protected]>: Bazel build support for building rust and beto-core targets -- 765f807 by Nabil Wadih <[email protected]>: Bazel build support for building rust and beto-core targets -- 3658bdc by Nabil Wadih <[email protected]>: Bazel build support for building rust and beto-core targets -- 65321ef by Nabil Wadih <[email protected]>: Bazel build support for building rust and beto-core targets -- f52590f by Nabil Wadih <[email protected]>: Update validate.yaml -- eef6b26 by Nabil Wadih <[email protected]>: Update validate.yaml -- b47f671 by Nabil Wadih <[email protected]>: Bazel build support for building rust and beto-core targets Merging this change closes #2483 PiperOrigin-RevId: 627873727
- Loading branch information
1 parent
9065c0a
commit 63838e6
Showing
5 changed files
with
14,795 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
build --action_env=BAZEL_CXXOPTS=-std=c++17 | ||
build --action_env=BAZEL_CXXOPTS=-"std=c++20" | ||
# Definition of --config=memcheck | ||
build:memcheck --strip=never --test_timeout=3600 | ||
build --sandbox_block_path=/usr/local | ||
common --enable_bzlmod |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,4 +52,7 @@ Carthage/Build | |
.idea | ||
|
||
# Rust | ||
Cargo.lock | ||
Cargo.lock | ||
|
||
# Bazel | ||
bazel-* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.