Skip to content

Commit

Permalink
std++20
Browse files Browse the repository at this point in the history
  • Loading branch information
rogurotus committed Sep 11, 2023
1 parent 8503c86 commit 613fadb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/libwebrtc-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ fn main() -> anyhow::Result<()> {
.flag("-DWEBRTC_LINUX")
.flag("-DWEBRTC_POSIX")
.flag("-DWEBRTC_USE_X11")
.flag("-std=c++17");
.flag("-std=c++20");
}
#[cfg(target_os = "macos")]
{
Expand All @@ -79,14 +79,14 @@ fn main() -> anyhow::Result<()> {
.flag("-DWEBRTC_MAC")
.flag("-DWEBRTC_ENABLE_OBJC_SYMBOL_EXPORT")
.flag("-DWEBRTC_LIBRARY_IMPL")
.flag("-std=c++17")
.flag("-std=c++20")
.flag("-objC")
.flag("-fobjc-arc");
}
#[cfg(target_os = "windows")]
{
println!("cargo:rustc-link-lib=OpenAL32");
build.flag("-DWEBRTC_WIN").flag("/std:c++17");
build.flag("-DWEBRTC_WIN").flag("/std:c++20");
}

#[cfg(feature = "fake_media")]
Expand Down

0 comments on commit 613fadb

Please sign in to comment.