fork/rust-sdks

git clone https://git.julia.blue/fork/rust-sdks

Théo Monnomuse c++20 on webrtc builds (#162)a6c3371

livekit/livekit-ffi@0.13.0
568 B14 linesraw
1diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
2index 8048ec5e8..4e00f7e53 100644
3--- a/build/config/compiler/BUILD.gn
4+++ b/build/config/compiler/BUILD.gn
5@@ -1424,6 +1424,9 @@ config("default_warnings") {
6       # gethostbyname. Fires mostly in non-Chromium code. We probably
7       # want to remove this define eventually.
8       "_WINSOCK_DEPRECATED_NO_WARNINGS",
9+
10+      "_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS",
11+      "_SILENCE_ALL_CXX20_DEPRECATION_WARNINGS",
12     ]
13     if (!is_clang) {
14       # TODO(thakis): Remove this once