aboutsummaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-build_config_rust.gni
blob: 029cf9d5d85c824cc7008fbf73b50f1ca7a73ef6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- build/config/rust.gni.orig	2023-05-05 12:12:41 UTC
+++ build/config/rust.gni
@@ -157,7 +157,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")
     }