blob: bd42078a6f02cfc1c8a049b6a6fd843dc04882db (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--- build/config/rust.gni.orig 2025-10-02 04:28:32 UTC
+++ build/config/rust.gni
@@ -329,7 +329,11 @@ if (is_linux || is_chromeos) {
}
}
-if (toolchain_has_rust) {
+if (is_bsd) {
+ rust_abi_target = string_replace(rust_abi_target, "linux-gnu", current_os)
+}
+
+if (toolchain_has_rust && !is_bsd) {
assert(rust_abi_target != "")
_known_rust_target_triples_filepath = "//build/rust/known-target-triples.txt"
|