Globally set C++ standard in Bazel builds
diff --git a/.bazelrc b/.bazelrc
index 5e3ff76..f6ec1ab 100644
--- a/.bazelrc
+++ b/.bazelrc
@@ -1,2 +1,4 @@
build --enable_platform_specific_config
build:linux --@rules_rust//:extra_rustc_flags=-Clink-arg=-fuse-ld=lld
+build:linux --cxxopt=-std=c++17
+build:macos --cxxopt=-std=c++17
diff --git a/demo/BUILD b/demo/BUILD
index 5c277ad..3de1cce 100644
--- a/demo/BUILD
+++ b/demo/BUILD
@@ -22,7 +22,6 @@
cc_library(
name = "blobstore-sys",
srcs = ["src/blobstore.cc"],
- copts = ["-std=c++14"],
deps = [
":blobstore-include",
":bridge/include",