diff options
author | Michael Pratt <mpratt@google.com> | 2019-12-06 15:25:16 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-12-06 15:26:47 -0800 |
commit | 7b81633ff828a2fdb3c96f2288407a1d4401b1ef (patch) | |
tree | 3469978adf761a73b5d55cad1e939ce8a86a4845 /.bazelrc | |
parent | ab3f7bc39392aaa7e7961ae6d82d94f2cae18adb (diff) |
Build with C++17
This will require a reasonably modern toolchain. I've put minimum compiler
versions in the README based on versions in
https://en.cppreference.com/w/cpp/compiler_support that have mostly complete
language and library support.
The minimum Bazel version bump is unrelated, but 0.28 is definitely not
supported anymore.
Please report issues on gvisor.dev/issue/1349.
Fixes #1349
PiperOrigin-RevId: 284274250
Diffstat (limited to '.bazelrc')
-rw-r--r-- | .bazelrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -12,6 +12,9 @@ # See the License for the specific language governing permissions and # limitations under the License. +# Build with C++17. +build --cxxopt=-std=c++17 + # Display the current git revision in the info block. build --stamp --workspace_status_command tools/workspace_status.sh |