aboutsummaryrefslogtreecommitdiff
path: root/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_rust.gni
blob: d614091daca28ec26d55bc35b80279b79d8d0b70 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/3rdparty/chromium/build/config/rust.gni.orig	2022-09-26 10:05:50 UTC
+++ src/3rdparty/chromium/build/config/rust.gni
@@ -116,7 +116,7 @@ if (enable_rust) {
     rust_sysroot = "//third_party/rust-toolchain"
     use_unverified_rust_toolchain = false
   } else {
-    if (host_os != "linux") {
+    if (host_os != "linux" && host_os != "openbsd" && host_os != "freebsd") {
       assert(false,
              "Attempt to use Android Rust toolchain on an unsupported platform")
     }