head 1.3; access; symbols pkgsrc-2026Q3:1.2.0.4 pkgsrc-2026Q3-base:1.2 pkgsrc-2026Q2:1.2.0.2 pkgsrc-2026Q2-base:1.2; locks; strict; comment @# @; 1.3 date 2026.09.30.20.01.29; author wiz; state dead; branches; next 1.2; commitid PfeGIL8m1MPGqGXG; 1.2 date 2026.05.07.13.16.15; author wiz; state Exp; branches; next 1.1; commitid 9vzB9PlgXCBlSSEG; 1.1 date 2026.04.19.20.53.35; author wiz; state Exp; branches; next ; commitid GvzHIQIAcPnXZBCG; desc @@ 1.3 log @rust: update to 1.98.1 Prepared in wip/rust198 by he@@, thank you! 1.98.1 Rust 1.98.1 fixes a miscompilation in vtable generation. 1.98.0 Algebraic floating-point methods Buffered integer formatting Fix interaction between ManuallyDrop and Box 1.97.1 Rust 1.97.1 fixes a miscompilation in an LLVM optimization. 1.97.0 Symbol mangling v0 enabled by default Cargo support for denying warnings Linker output no longer hidden by default @ text @$NetBSD: patch-src_tools_cargo_src_bin_cargo_commands_help.rs,v 1.2 2026/05/07 13:16:15 wiz Exp $ NetBSD's man(1) command only accepts ./*.[0-9] as man pages. https://github.com/rust-lang/rust/issues/155548 --- src/tools/cargo/src/bin/cargo/commands/help.rs.orig 2026-04-14 19:55:32.000000000 +0000 +++ src/tools/cargo/src/bin/cargo/commands/help.rs @@@@ -125,7 +125,11 @@@@ fn write_and_spawn(name: &str, contents: &[u8], comman /// display it. fn write_and_spawn(name: &str, contents: &[u8], command: &str) -> CargoResult<()> { let prefix = format!("cargo-{}.", name); - let mut tmp = tempfile::Builder::new().prefix(&prefix).tempfile()?; + let suffix = if command == "man" { ".1" } else { "" }; + let mut tmp = tempfile::Builder::new() + .prefix(&prefix) + .suffix(suffix) + .tempfile()?; let f = tmp.as_file_mut(); f.write_all(contents)?; f.flush()?; @ 1.2 log @rust: update to 1.95.0. As always, provided by he@@ in wip. New major release, details at https://blog.rust-lang.org/2026/04/16/Rust-1.95.0/ @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @rust: fix 'cargo help build' on NetBSD Bump PKGREVISION. @ text @d4 1 d6 1 a6 1 --- src/tools/cargo/src/bin/cargo/commands/help.rs.orig 2026-04-19 19:43:27.728526123 +0000 d8 1 a8 1 @@@@ -141,7 +141,11 @@@@ fn write_and_spawn(name: &str, contents: &[u8], comman @