pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

rust-beta: Treat linker-warnings as such



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Mon Jul 20 16:44:14 2026 +0200
Changeset:	11592ff41bb06a4d57ce3d16c0332e4987984b89

Modified Files:
	rust-beta/distinfo
Added Files:
	rust-beta/patches/patch-src_bootstrap_Cargo.toml

Log Message:
rust-beta: Treat linker-warnings as such

Fixes bootstap.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=11592ff41bb06a4d57ce3d16c0332e4987984b89

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 rust-beta/distinfo                               |  1 +
 rust-beta/patches/patch-src_bootstrap_Cargo.toml | 18 ++++++++++++++++++
 2 files changed, 19 insertions(+)

diffs:
diff --git a/rust-beta/distinfo b/rust-beta/distinfo
index 9bef53df4a..d5b0df1faf 100644
--- a/rust-beta/distinfo
+++ b/rust-beta/distinfo
@@ -11,6 +11,7 @@ SHA512 (rustc-beta-src.tar.xz) = cfe350746b9ca493c3614105fd90cc5dad8267a2f1637ba
 Size (rustc-beta-src.tar.xz) = 244383592 bytes
 SHA1 (patch-library_backtrace_src_symbolize_gimli.rs) = 9d5ef634c5a454e474ea5fee76da9bb768f5b3d9
 SHA1 (patch-library_backtrace_src_symbolize_gimli_elf.rs) = 8b18e1dbde59f3e8f20e93c7669618b2c7a13294
+SHA1 (patch-src_bootstrap_Cargo.toml) = 308602e469542dfd800c1ea10c1cdb393539a5a9
 SHA1 (patch-src_bootstrap_bootstrap.py) = fb89adaaf01f558d636734db5d778af4a3c67fd6
 SHA1 (patch-src_bootstrap_src_core_build__steps_install.rs) = 5ecf4e371fa48bca72fa5b0adb55152c906bd813
 SHA1 (patch-src_bootstrap_src_core_builder_cargo.rs) = 47735f93b8694e772452b302b15ef8f82da4c86c
diff --git a/rust-beta/patches/patch-src_bootstrap_Cargo.toml b/rust-beta/patches/patch-src_bootstrap_Cargo.toml
new file mode 100644
index 0000000000..1a38f9ff64
--- /dev/null
+++ b/rust-beta/patches/patch-src_bootstrap_Cargo.toml
@@ -0,0 +1,18 @@
+$NetBSD$
+
+Treat linker-messages as warn-by-default.
+Make sure to remove this when no longer needed.
+See: https://github.com/rust-lang/rust/pull/153968
+
+--- src/bootstrap/Cargo.toml.orig	2026-07-20 14:26:40.721723664 +0000
++++ src/bootstrap/Cargo.toml
+@@ -9,6 +9,9 @@ tracing = ["dep:tracing", "dep:tracing-chrome", "dep:t
+ build-metrics = ["dep:sysinfo", "build_helper/metrics"]
+ tracing = ["dep:tracing", "dep:tracing-chrome", "dep:tracing-subscriber", "dep:chrono"]
+ 
++[lints.rust]
++linker_messages = "allow"
++
+ [lib]
+ path = "src/lib.rs"
+ doctest = false


Home | Main Index | Thread Index | Old Index