srctree

Robin Linden parent 1972eacc 7deb5605
build: Support building with libc++

inlinesplit
.bazelrc added: 13, removed: 5, total 8
@@ -94,6 +94,10 @@ build:msvc --per_file_copt='external/zlib[:/]@/wd4267' # C4267: '=': conversion
# Special build options
# =========================================================
 
# Currently only supported for Clang 13 and newer.
build:libc++ --cxxopt=-stdlib=libc++
build:libc++ --linkopt=-stdlib=libc++
 
# Some of this is from "Can I run AddressSanitizer with more aggressive diagnostics enabled?"
# on https://github.com/google/sanitizers/wiki/AddressSanitizer#faq and some is from
# https://chromium.googlesource.com/external/github.com/grpc/grpc/+/4e9206f48c91e17f43856b016b12f59dd5118293/tools/bazel.rc
 
.bazelversion added: 13, removed: 5, total 8
@@ -1 +1 @@
4.2.1
5.0.0rc1
 
third_party/asio.BUILD added: 13, removed: 5, total 8
@@ -7,7 +7,11 @@ cc_library(
"include/**/*.hpp",
"include/**/*.ipp",
]),
defines = ["ASIO_SEPARATE_COMPILATION"],
defines = [
"ASIO_SEPARATE_COMPILATION",
# TODO(robinlinden): Delete once https://github.com/chriskohlhoff/asio/pull/910 is merged.
"ASIO_HAS_STD_INVOKE_RESULT",
],
strip_include_prefix = "include",
visibility = ["//visibility:public"],
deps = ["@boringssl//:ssl"],