head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2026.09.30.20.01.31; author wiz; state Exp; branches; next ; commitid PfeGIL8m1MPGqGXG; desc @@ 1.1 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$ Patterned after Linux and Android, on 32-bit NetBSD ports include -latomic. Parts of this inspired by https://github.com/sfackler/rust-openssl/commit/a0a1d1d29263abb7c47fc2e58cef8dab13762a45 --- vendor/openssl-sys-0.9.117/build/main.rs.orig 2026-08-23 11:13:40.786771844 +0000 +++ vendor/openssl-sys-0.9.117/build/main.rs @@@@ -283,6 +283,14 @@@@ fn main() { println!("cargo:rustc-link-lib=atomic"); } + // Patterned of the above, make sure we include -latomic + // on ilp32 ports (yes, this only tests the "p32" part). + if env::var("CARGO_CFG_TARGET_OS").unwrap() == "netbsd" + && env::var("CARGO_CFG_TARGET_POINTER_WIDTH").unwrap() == "32" + { + println!("cargo:rustc-link-lib=atomic"); + } + if kind == "static" && target.contains("windows") { println!("cargo:rustc-link-lib=dylib=gdi32"); println!("cargo:rustc-link-lib=dylib=user32"); @