diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2025-10-05 09:19:31 +0100 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2025-10-05 09:19:31 +0100 |
| commit | f85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (patch) | |
| tree | ad799ccacfb459b809b02b9c115ed4befb93b4c1 /devel/electron38/files/patch-build_config_rust.gni | |
| parent | 0b1510fe1f98f82da6f3481cb6c58957022d9211 (diff) | |
| parent | b057c68280a2f2a7b3d1fbac36f7b034e1fdf593 (diff) | |
Merge remote-tracking branch 'freebsd/main' into lf/main
Diffstat (limited to 'devel/electron38/files/patch-build_config_rust.gni')
| -rw-r--r-- | devel/electron38/files/patch-build_config_rust.gni | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/electron38/files/patch-build_config_rust.gni b/devel/electron38/files/patch-build_config_rust.gni new file mode 100644 index 000000000000..b9a27a5bae7e --- /dev/null +++ b/devel/electron38/files/patch-build_config_rust.gni @@ -0,0 +1,15 @@ +--- build/config/rust.gni.orig 2025-08-26 20:49:50 UTC ++++ build/config/rust.gni +@@ -369,7 +369,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" |
