head 1.2; access; symbols; locks; strict; comment @# @; 1.2 date 2026.11.14.22.02.08; author wiz; state Exp; branches; next 1.1; commitid cnosdhKTZz2xEt3H; 1.1 date 2026.09.30.20.01.31; author wiz; state Exp; branches; next ; commitid PfeGIL8m1MPGqGXG; desc @@ 1.2 log @rust: update 1.99.1 From wip, by he@@, adam@@, and pin@@. 1.99.1 is a bugfix release for 1.99.0. 1.99.0 Language Add allow-by-default raw_borrows_via_references lint that checks for references that decay immediately into raw borrows Extend unconditional_panic lint to function calls that panic when the chunks/windows size is zero Stabilize C-variadic function definitions Stabilize the ability to use #[unsafe(naked)] functions to define C-variadic functions (#![feature(c_variadic_naked_functions)]). Trait methods are now resolved on an adjusted never type (producing a FCW) Coerce from inference variables to trait objects if the inference variable is related via subtyping to a type that is known to be Sized Stabilize #[my_macro] mod foo;. This allows outlined modules (mod foo;) anywhere in the body of a custom attribute or derive macro. Fix the overflowing_literals lint with repeated negation. For instance, it will now no longer lint on --128_i8, which is already detected by the arithmetic_overflow lint. Add POSIX symbols to the invalid_runtime_symbol_definitions and suspicious_runtime_symbol_definitions lints Lint unused #[path] attributes on inline modules Enable unreachable_cfg_select_predicates lint as part of unused lint group Stabilize passing 128-bit integers via vector registers with asm! on x86 Explicitly document that some allocations are allowed to grow in-place (but none are allowed to shrink) We now guarantee that the contents of an UnsafeCell can be accessed without going through get The invalid_reference_casting lint was adjusted accordingly Account for globally enabled target features in global_asm! Warn if an invalid doc attribute is used on a macro invocation Compiler Convert -Ctarget-cpu into a target-modifier for AVR, AMDGCN and NVPTX Enable static_position_independent_executables on all gnu targets When providing a suggestion about a missing method, rustc now prefers an exactly matching name from a doc alias attribute over a similarity search from other method names. If your new users sometimes expect a method under a different name, adding a doc alias will now help them find it via rustc suggestions, in addition to helping them find it via rustdoc search: When suggesting method names, prefer exact doc aliases over similar names Platform Support Promote riscv64-unknown-linux-musl to Tier 2 with host tools Refer to Rust’s platform support page for more information on Rust’s tiered platform support. Libraries Iteration on RangeInclusive (a..=b ranges) is now optimized better in some circumstances. As a side effect of this, the behavior of RangeInclusive values that has already been exhausted (as an iterator) has changed. For example, the return values of start() and end() on such ranges may return different values, and using such ranges as slice indexes may have different behavior. These behaviors were not guaranteed to be stable, so these changes are considered to not be breaking changes. Relax transmute_copy to accept ?Sized types Update transmute_copy to use a non-unwinding panic Don’t escape U+FF9E and U+FF9F in escape_debug_ext Re-export core::fmt::NumBuffer in alloc (and std) Stabilized APIs IntoIterator for Box<[T; N]> IntoIterator for &Box<[T; N]> IntoIterator for &mut Box<[T; N]> VecDeque::retain_back core::ffi::VaList Box::into_non_null Box::from_non_null Vec::into_parts Vec::from_parts core::mem::size_of_val_raw core::mem::align_of_val_raw core::alloc::Layout::for_value_raw String::from_utf8_lossy_owned string::FromUtf8Error::into_utf8_lossy FusedIterator for StepBy std::fs::set_times std::fs::set_times_nofollow >>::update Cargo Add a new built-in profile debug. This is a preparation for transitioning the dev profile away from debugging to give a saner default for faster development iterations. Currently there is no difference between dev and debug profiles. docs #17214 Workspace members on edition 2024 or later can now override an inherited workspace dependency’s default-features field. For example, serde = { workspace = true, default-features = false } now turns off default features even when the workspace definition enables them. On earlier editions, default-features = false is ignored with a warning. (RFC 3945) #17126 See also the full Cargo changelog Rustdoc Add new unused_footnote_definition rustdoc lint Smarter filtering of trait impls yields performance improvements of 20% on average and up to 40% on some real-world crates. (1, 2, 3, 4, 5) @ text @$NetBSD: patch-vendor_openssl-src-300.5.4+3.5.4_openssl_Configurations_10-main.conf,v 1.1 2026/04/02 19:06:35 wiz Exp $ Replicate part of https://github.com/openssl/openssl/pull/15086 --- vendor/openssl-src-300.6.1+3.6.3/openssl/Configurations/10-main.conf.orig 2025-11-02 17:12:27.865420544 +0000 +++ vendor/openssl-src-300.6.1+3.6.3/openssl/Configurations/10-main.conf @@@@ -1033,6 +1033,10 @@@@ my %targets = ( shared_target => "bsd-gcc-shared", shared_cflag => "-fPIC", }, + "NetBSD-generic32" => { + inherit_from => [ "BSD-generic32" ], + ex_libs => add(threads("-latomic")), + }, "BSD-generic64" => { inherit_from => [ "BSD-generic32" ], bn_ops => "SIXTY_FOUR_BIT_LONG", @ 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 @@