Path to this page:
./
lang/rust,
Safe, concurrent, practical language
Branch: CURRENT,
Version: 1.99.1,
Package name: rust-1.99.1,
Maintainer: pkgsrc-usersRust is a systems programming language focused on three goals: safety,
speed, and concurrency. It maintains these goals without having a
garbage collector, making it a useful language for a number of use cases
other languages aren't good at: embedding in other languages, programs
with specific space and time requirements, and writing low-level code,
like device drivers and operating systems.
It improves on current languages targeting this space by having a number
of compile-time safety checks that produce no runtime overhead, while
eliminating all data races. Rust also aims to achieve "zero-cost
abstractions" even though some of these abstractions feel like those of
a high-level language. Even then, Rust still allows precise control
like a low-level language would.
Required to run:[
www/curl] [
security/openssl] [
lang/llvm]
Required to build:[
pkgtools/cwrappers] [
lang/gcc5] [
lang/python37]
Master sites:
Filesize: 259053.117 KB
Version history: (Expand)
- (2026-11-15) Updated to version: rust-1.99.1
- (2026-11-11) Updated to version: rust-1.98.1nb2
- (2026-10-11) Updated to version: rust-1.98.1nb1
- (2026-09-30) Updated to version: rust-1.98.1
- (2026-09-29) Updated to version: rust-1.96.1nb4
- (2026-09-27) Updated to version: rust-1.96.1nb3
CVS history: (Expand)
2026-11-15 08:39:40 by Thomas Klausner | Files touched by this commit (1) |  |
Log message:
rust: restore SunOS fix lost in 1.99.1 update
|
2026-11-14 23:02:09 by Thomas Klausner | Files touched by this commit (47) |  |
Log message:
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<I>
std::fs::set_times
std::fs::set_times_nofollow
<LocalKey<Cell<T>>>::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)
|
| 2026-11-11 12:56:56 by Thomas Klausner | Files touched by this commit (3116) |
Log message:
*: recursive bump for icu 79
|
| 2026-11-10 15:40:37 by Taylor R Campbell | Files touched by this commit (1) |
Log message:
lang/rust/cargo.mk: Make cargo-vendor-crates recipe more robust.
1. Fail if digest command fails for any reason.
2. Don't leave each final .json file around if interrupted.
No functional change intended in the success case.
|
| 2026-11-10 14:42:40 by Taylor R Campbell | Files touched by this commit (1) |
Log message:
lang/rust/cargo.mk: Set CARGO_BUILD_JOBS=${_MAKE_JOBS_N} in MAKE_ENV.
This fixes excessive parallelism in py-maturin, anything that uses
Python setuptools-rust, and generally anything that assembles its own
cargo(1) command line instead of using ${CARGO_ARGS}.
|
| 2026-11-10 12:25:39 by Jonathan Perkin | Files touched by this commit (1) |
Log message:
cargo: Fix digest to be a bootstrap dependency.
|
2026-10-11 17:53:44 by pin | Files touched by this commit (1) |  |
Log message:
lang/rust: revbump for llvm update
|
| 2026-10-07 14:13:11 by Jonathan Perkin | Files touched by this commit (1) |
Log message:
rust: Remove unsupported linker argument on SunOS.
It's not clear where this is coming from, potentially the bootstrap kit, but
the failure is in stage1. Just get rid of it regardless.
|