CVE and update status of the FreeBSD ports tree4,526 unaddressed CVEs in 616 portsAll times are CET

Port details

lang/rust1.99.1_1

Language with a focus on memory safety and concurrency

Maintainer
rust@FreeBSD.org
Packages
rust 1.99.1_1
Upstream
up to date
CPE
rust-lang:rust from the port
WWW
https://www.rust-lang.org/
Links
cgit · VuXML

Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE

None. There is no CVE without a VuXML entry for this version.

VuXML only (0) · listed, port not fixed yet

None. pkg audit reports nothing for this version.

Fixed (2)

Show 2 fixed
VuXML entries whose affected range this version has left.

Commits (402)

Piotr Kubaj (pkubaj) · 1.99.1_1
lang/rust: fix runtime on powerpc64le

Backport an LLVM fix for the loop vectorizer emitting invalid IR
for extractvalue of a widened sadd.with.overflow. On powerpc64le this
broke everything using libbz2-rs-sys (py-maturin, proton-pass-cli) with
"Cannot select: i64 = sign_extend v4i32".
8038b3f000
Piotr Kubaj (pkubaj) · 1.99.1
Mk/Uses/cargo.mk, lang/rust: keep RUST_BACKTRACE on powerpc64le

Only backtraces captured by libraries hit the libunwind bug, so disable
those with RUST_LIB_BACKTRACE and keep panic backtraces everywhere. The
fix is in releng/14.5, stable/15 and main.
b4bff3511f
Mikael Urankar (mikael) · 1.99.1
lang/rust: Update to 1.99.1
ea51c7f122
Mikael Urankar (mikael) · 1.99.0
lang/rust: Update to 1.99.0

Announce:	https://blog.rust-lang.org/2026/10/01/Rust-1.99.0/
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.99.0

PR:		299016
Tested by:	mikael,pkubaj
Exp-run by:	antoine
d7c9e7f498
Dmitry Marakasov (amdmi3) · 1.98.1
lang/rust-nightly: update 1.99.0.20260809 → 1.100.0.20260909

- Sync patches to lang/rust
- Force disable profiler on wasm target, it does not build and
  is not supposed to according to upstream ([1])

[1] https://github.com/rust-lang/rust/issues/162551

Approved by:	rust (implicit)
dc6c9f326e
Mikael Urankar (mikael) · 1.98.1
lang/rust: Update to 1.98.1

Announce:	https://blog.rust-lang.org/2026/08/20/Rust-1.98.0/
		https://blog.rust-lang.org/2026/09/03/Rust-1.98.1/
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.98.0
		https://github.com/rust-lang/rust/releases/tag/1.98.1

PR:		298139
Tested by:	mikael,pkubaj
4b65f538a0
Piotr Kubaj (pkubaj) · 1.97.1
lang/rust: set RUST_BACKTRACE=1 on recent CURRENT on powerpc64le

After src 70509d1d9cba254dfd5b3dd83d8a011b5e125788, RUST_BACKTRACE=1
doesn't cause a crash anymore.
d63cc13061
Jessica Clarke (jrtc27) · 1.97.1
lang/rust{,-bootstrap}, Mk/Uses/cargo.mk: Relax COMPAT_FREEBSD11 check

lang/rust{,-bootstrap} themselves do not need COMPAT_FREEBSD11 any more,
nor do crates that don't depend on pre-0.2.176 libc. For those that
still do, emit a warning for porters to see so that we can eventually
fully move away from needing COMPAT_FREEBSD11.

Note lang/rust188, and the bootstrap 1.87 it depends on, both predate
1.93, the first version of rust itself to use libc >= 0.2.176, so the
check remains in lang/rust188.

Note also Mk/bsd.gecko.mk does its own thing due to the vendored crates,
and will need its own approach to this issue.

PR:		281600
Reviewed by:	mikael (rust)
Approved by:	mikael (rust)
MFH:		2026Q3
4dc0e9ac42
Mikael Urankar (mikael) · 1.97.1
lang/rust: Update to 1.97.1

Announce:	https://blog.rust-lang.org/2026/07/09/Rust-1.97.0/
		https://blog.rust-lang.org/2026/07/16/Rust-1.97.1/
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.97.0
		https://github.com/rust-lang/rust/releases/tag/1.97.1

PR:		296645
Tested by:	mikael,pkubaj
3f5d9c21a0
Mikael Urankar (mikael) · 1.96.1
lang/rust: update to 1.96.1
7ad5d8b86b
Piotr Kubaj (pkubaj) · 1.96.0
lang/rust: fix runtime on powerpc64le/CURRENT

powerpc64le switched to 128-bit long double, which is implemented in
compiler_rt (libgcc). Link to libgcc to resolve those symbols correctly.

Noop for older releases.
9ebd7f1196
Mikael Urankar (mikael) · 1.96.0
lang/rust: Update to 1.96.0

Announce:	https://blog.rust-lang.org/2026/05/28/Rust-1.96.0/
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.96.0

PR:		295694
Tested by:	mikael,pkubaj
28760628ac
Dmitry Marakasov (amdmi3) · 1.95.0
lang/rust-nightly: update 1.97.0.20260511 → 1.98.0.20260526

- Enable miri
- Include a patch from upstream PR to avoid network access during build

Approved by:	rust (implicit)
de67a809c6
Gleb Popov (arrowd) · 1.95.0
*: Fix spelling and typos in comments and pkg-descr's of various ports

Pull Request:	https://github.com/freebsd/freebsd-ports/pull/506
Co-authored-by:	Gleb Popov <arrowd@FreeBSD.org>
f3b8e6f595
Robert Clausecker (fuz) · 1.95.0
lang/rust: fix build on armv7

We have previously (cf. PR 282663) disabled the has_thread_local feature
on armv7 to work around an rtld bug.  The bug was fixed with D42415, but
the workaround remained.  Earlier this year, rust started to fail to
build due to the workaround, as the fallback TLS implementation is
limited to the number of pthread TLS keys (256) and rust has started to
consume more and more of them.  While a temporary workaround reducing
the hunger for TLS keys was implemented in 2026Q2, we can actually just
reenable has_thread_local to go back to how things are supposed to work.

PR:		294545
Approved by:	mikael (rust)
MFH:		no
079829d07d
Mikael Urankar (mikael) · 1.95.0
lang/rust: Update to 1.95.0

Announce:	https://blog.rust-lang.org/2026/04/16/Rust-1.95.0/
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.95.0

PR:		294615, 294703
Tested by:	mikael, Gunther Nikl, pkubaj
3c971390fa
Mikael Urankar (mikael) · 1.94.0
lang/rust: Update to 1.94.0

Announce:	https://blog.rust-lang.org/2026/03/05/Rust-1.94.0/
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.94.0

PR:		293615
Tested by:	mikael
49f0df522a
Mikael Urankar (mikael) · 1.93.1
Revert "lang/rust: fix build with LLVM 22 (PORT_LLVM option)"

This reverts commit 91d047221724449855d84465d8ca53bdddb9fcc2.

This patch was not approved.
This patch interferes with pending rust update (pr 293615)
There was no rush to push this patch since there is a pending rust update (pr 293615)
It breaks lang/rust-nightly
8713bd8c99
Charlie Li (vishwin) · 1.93.1
lang/rust: fix build with LLVM 22 (PORT_LLVM option)

PassPlugin moved to a new location starting LLVM 22.

Reference: https://github.com/rust-lang/rust/pull/150394
91d0472217
Mikael Urankar (mikael) · 1.93.1
lang/rust: Update to 1.93.1

Announce:	https://blog.rust-lang.org/2026/02/12/Rust-1.93.1/
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.93.1
b470c8a31e
Mikael Urankar (mikael) · 1.93.0
lang/rust: Update to 1.93.0

While here, drop AR as it's deprecated since 2015 [1]

Announce:	https://blog.rust-lang.org/2026/01/22/Rust-1.93.0/
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.93.0

PR:		292713
Tested by:	mikael, pkubaj
Differential Revision:	https://reviews.freebsd.org/D54619 [1]
78c933ad0a
Mikael Urankar (mikael) · 1.92.0
lang/rust: Fix LLVM_VERSION

Fixes:	a802c571830fc166c61fea2e957944127458cde4
692043222a
Charlie Li (vishwin) · 1.92.0
lang/rust: really fix WASM with PORT_LLVM

Bundled LLVM is never built when llvm-config is specified in
config.toml, ie PORT_LLVM, and base system LLVM doesn't support
wasm32-unknown-unknown triple. Restore the previous behaviour of
using clang from the LLVM port when PORT_LLVM is enabled. Also
really fix the ${LLVM_VERSION} logic, as the variable is from
USES=llvm.
009e302df6
Charlie Li (vishwin) · 1.92.0
lang/rust: privatise ${_LLVM_VERSION}

Did not initially notice the added ${LLVM_VERSION} to denote minimum
required PORT_LLVM version, but privatise to avoid collision with
USES=llvm's ${LLVM_VERSION} logic.
a802c57183
Charlie Li (vishwin) · 1.92.0
lang/rust: PORT_LLVM minimum version is 20

Source: https://github.com/rust-lang/rust/commit/f104ecfba6f56d84c6f48fa328ce20ef48efa796
bb3d1e79b1
Mikael Urankar (mikael) · 1.92.0
lang/rust: Update to 1.92.0

Announce:	https://blog.rust-lang.org/2025/12/11/Rust-1.92.0
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.92.0

PR:		291582
Tested by:	mikael,pkubaj
c13471c0db
Mikael Urankar (mikael) · 1.91.1
lang/rust: Fix patch

PR:		291460
c1447e8990
Mikael Urankar (mikael) · 1.91.1
lang/rust: Really update to 1.91.1

Reported by:	Gunther Nikl
PR:		290816
f0d2dcfa5c
Mikael Urankar (mikael) · 1.91.0
lang/rust: Add files/patch-vendor_openssl-probe_src_lib.rs

Reported by:	Gunther Nikl
Fixes:		a01365ba22179d5ceabec53c65586012b75b4dab
cc3c8d7ead
Mikael Urankar (mikael) · 1.91.0
lang/rust: Update to 1.91.1

- Drop WASM option as it requires llvm from ports
   it was probably broken since it was introduced and no one noticed / used it

Announce:	https://blog.rust-lang.org/2025/10/30/Rust-1.91.0/
		https://blog.rust-lang.org/2025/11/10/Rust-1.91.1/
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.91.0
		https://github.com/rust-lang/rust/releases/tag/1.91.1

PR:		290816
Tested by:	mikael,pkubaj
1a1ef8585f
Mikael Urankar (mikael) · 1.90.0_2
lang/rust: Replace OpenSSL system default truststore with a more generic one
a01365ba22
Michael Osipov (michaelo) · 1.90.0_1
lang/rust: Update patch for git2-rs

Tested by:	michaelo
Approved by:	otis (mentor), mikael (rust maintainer)
MFH:		2025Q4
Differential Revision:	https://reviews.freebsd.org/D52988
45e5316c38
Mikael Urankar (mikael) · 1.90.0
lang/rust: Update to 1.90.0

Announce:	https://blog.rust-lang.org/2025/09/18/Rust-1.90.0/
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.90.0

PR:		289709
Tested by:	mikael,pkubaj
22e64ae959
Dmitry Marakasov (amdmi3) · 1.89.0
lang/rust-nightly: update 1.91.0.20250805 → 1.91.0.20250907

Approved by:	rust (implicit)
904c41f204
Mikael Urankar (mikael) · 1.89.0
lang/rust: Update to 1.89.0

Announce:	https://blog.rust-lang.org/2025/08/07/Rust-1.89.0/
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.89.0

PR:		288923
Tested by:	mikael,pkubaj
6e65886aa5
Mikael Urankar (mikael) · 1.88.0
lang/rust: fork 1.88 into a pinned port

A temporary workaround for devel/git-branchless and games/veloren-weekly.

PR:		288923, 289015, 289016
c61dde399b
Dmitry Marakasov (amdmi3) · 1.88.0
lang/rust-nightly: update 1.90.0.20250709 → 1.90.0.20250727

Approved by:	rust (implicit)
1fba2c3046
Mikael Urankar (mikael) · 1.88.0
lang/rust: bump PORT_LLVM minimum version to 18

Source:
https://github.com/rust-lang/rust/pull/139275/commits/12167d7064597993355e41d3a8c20654bccaf0be

Reported by:	Mark Millard <marklmi@yahoo.com>
a93cbed8b0
Mikael Urankar (mikael) · 1.88.0
lang/rust: Update to 1.88.0

Announce:	https://blog.rust-lang.org/2025/06/26/Rust-1.88.0/
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.88.0

PR:		287766
Tested by:	mikael,pkubaj
096f1677e0
Piotr Kubaj (pkubaj) · 1.87.0
lang/rust: add missing __ suffix to __powerpc macro
4f7bdec82e
Piotr Kubaj (pkubaj) · 1.87.0
lang/rust: fix powerpc bootstrap
609c0dc555
Mikael Urankar (mikael) · 1.87.0
lang/rust: Update to 1.87.0

Announce:	https://blog.rust-lang.org/2025/05/15/Rust-1.87.0/
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.87.0

PR:		286829
Tested by:	mikael,pkubaj,Herbert J. Skuhra
2add7bc03f
Charlie Li (vishwin) · 1.86.0
lang/rust: remove max LLVM version restriction for PORT_LLVM

LLVM 20 now supported
2924b2c5b8
Mikael Urankar (mikael) · 1.86.0
lang/rust: Update to 1.86.0

Announce:	https://blog.rust-lang.org/2025/04/03/Rust-1.86.0.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.86.0

Put back rustdoc in _RUST_TOOLS, rustdoc is an integral part of cargo
and has no connection with DOCS.

PR:		285381,285840
Tested by:	mikael,pkubaj
11e425bbfd
Charlie Li (vishwin) · 1.85.1
lang/rust: limit PORT_LLVM max to 19

LLVM 20 support currently only exists in trunk.
10b9f3f22d
Mikael Urankar (mikael) · 1.85.1
lang/rust: Update to 1.85.1

While here:
 - remove rustdoc from _RUST_TOOLS, it has to be added only when
   DOCS option is enabled
 - add DOCS to OPTIONS_DEFAULT [1]
 - building docs on armv7 is fixed

PR:		285381 [1]
d617602f66
Mikael Urankar (mikael) · 1.85.0_1
lang/rust: do not build the documentation on armv7

A bug [1] prevents documentation from being compiled on this
platform, disable it until it's fixed in a release branch.

[1] https://github.com/rust-lang/rust/pull/137632

Reported by:	mmel
3a627a5c54
Michael Osipov (michaelo) · 1.85.0_1
lang/rust: Make OpenSSL use the system default truststore in Cargo

Cargo uses curl-rust and git2-rs (which uses curl-rest as well).
Unfortunately, git2-rs calls openssl_probe::init_ssl_cert_env_vars()
unconditionally which breaks the process environment by setting an invalid
value for SSL_CERT_DIR and then the system default truststore is circumvented,
resulting in certificate validation errors even if certctl(8) manages
everything nicely.

Upstream issues:
* https://github.com/alexcrichton/openssl-probe/issues/37
* https://github.com/rust-lang/git2-rs/pull/1130

Reviewed by:	jrm (mentor), mikael (rust)
MFH:		2025Q1
Differential Revision:	https://reviews.freebsd.org/D49120
0780826603
Mikael Urankar (mikael) · 1.85.0
lang/rust: Update to 1.85.0

Announce: https://blog.rust-lang.org/2025/02/20/Rust-1.85.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.85.0

PR:		284884
Tested by:	mikael,pkubaj
0bd1fd4d88
Jan Beich (jbeich) · 1.84.0
lang/rust182: remove port after 182ff2d0ad1b
917563d82e