blob: 3b28980c5bbc843db9df465cec2d941b0faaf162 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$OpenBSD: patch-build_config_rust_gni,v 1.2 2021/11/16 11:28:45 robert Exp $
Index: build/config/rust.gni
--- build/config/rust.gni.orig
+++ build/config/rust.gni
@@ -72,7 +72,7 @@ if (use_unverified_rust_toolchain) {
assert(rust_bin_dir != "")
rust_prefix = "$rust_bin_dir/"
} else if (toolchain_has_official_rust) {
- if (host_os != "linux") {
+ if (host_os != "linux" && host_os != "openbsd") {
assert(false,
"Attempt to use standard Rust toolchain on an unsupported platform")
}
|