aboutsummaryrefslogtreecommitdiff
path: root/devel/electron36/files/patch-build_rust_std_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron36/files/patch-build_rust_std_BUILD.gn')
-rw-r--r--devel/electron36/files/patch-build_rust_std_BUILD.gn18
1 files changed, 13 insertions, 5 deletions
diff --git a/devel/electron36/files/patch-build_rust_std_BUILD.gn b/devel/electron36/files/patch-build_rust_std_BUILD.gn
index c6c2801bd47d..002ea97d51cd 100644
--- a/devel/electron36/files/patch-build_rust_std_BUILD.gn
+++ b/devel/electron36/files/patch-build_rust_std_BUILD.gn
@@ -1,4 +1,4 @@
---- build/rust/std/BUILD.gn.orig 2025-05-20 09:16:26 UTC
+--- build/rust/std/BUILD.gn.orig 2025-06-16 18:02:10 UTC
+++ build/rust/std/BUILD.gn
@@ -15,51 +15,12 @@
# allocator functions to PartitionAlloc when `use_partition_alloc_as_malloc` is
@@ -52,7 +52,15 @@
# List of Rust stdlib rlibs which are present in the official Rust toolchain
# we are using from the Android team. This is usually a version or two behind
# nightly. Generally this matches the toolchain we build ourselves, but if
-@@ -89,13 +50,20 @@ if (toolchain_has_rust) {
+@@ -81,7 +42,6 @@ if (toolchain_has_rust) {
+ "rustc_demangle",
+ "std_detect",
+ "test",
+- "unicode_width",
+ "unwind",
+ ]
+
+@@ -89,13 +49,20 @@ if (toolchain_has_rust) {
# These are no longer present in the Windows toolchain.
stdlib_files += [
"addr2line",
@@ -74,7 +82,7 @@
}
if (toolchain_for_rust_host_build_tools) {
-@@ -115,7 +83,6 @@ if (toolchain_has_rust) {
+@@ -115,7 +82,6 @@ if (toolchain_has_rust) {
# don't need to pass to the C++ linker because they're used for specialized
# purposes.
skip_stdlib_files = [
@@ -82,7 +90,7 @@
"rustc_std_workspace_alloc",
"rustc_std_workspace_core",
"rustc_std_workspace_std",
-@@ -269,8 +236,6 @@ if (toolchain_has_rust) {
+@@ -269,8 +235,6 @@ if (toolchain_has_rust) {
foreach(libname, stdlib_files + skip_stdlib_files) {
deps += [ "rules:$libname" ]
}
@@ -91,7 +99,7 @@
}
} else {
action("find_stdlib") {
-@@ -396,12 +361,6 @@ if (toolchain_has_rust) {
+@@ -396,12 +360,6 @@ if (toolchain_has_rust) {
":stdlib_public_dependent_libs",
]
deps = [ ":prebuilt_rustc_copy_to_sysroot" ]