mirror of
https://git.freebsd.org/ports.git
synced 2025-07-06 20:09:14 -04:00
Approved by: rene (mentor) Security: https://vuxml.freebsd.org/freebsd/310ca30e-a951-11ed-8314-a8a1599412c6.html
11 lines
446 B
Text
11 lines
446 B
Text
--- build/config/rust.gni.orig 2023-02-08 09:03:45 UTC
|
|
+++ build/config/rust.gni
|
|
@@ -128,7 +128,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")
|
|
}
|