blob: ef8467486d045364bf162b33306bfab1000537bf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- build/config/rust.gni.orig 2025-02-19 07:43:18 UTC
+++ build/config/rust.gni
@@ -297,6 +297,10 @@ if (is_linux || is_chromeos) {
}
}
+if (is_bsd) {
+ rust_abi_target = string_replace(rust_abi_target, "linux-gnu", current_os)
+}
+
assert(!toolchain_has_rust || rust_abi_target != "")
# This variable is passed to the Rust libstd build.
|