Page MenuHomeFreeBSD

lang/rust: update to 1.29.1

Authored by jbeich on Sep 27 2018, 1:26 PM.
Referenced Files
Unknown Object (File)
Wed, Apr 10, 2:42 AM
Unknown Object (File)
Feb 18 2024, 8:16 AM
Unknown Object (File)
Feb 9 2024, 8:42 PM
Unknown Object (File)
Jan 27 2024, 12:16 PM
Unknown Object (File)
Jan 27 2024, 12:16 PM
Unknown Object (File)
Jan 27 2024, 12:15 PM
Unknown Object (File)
Jan 27 2024, 12:15 PM
Unknown Object (File)
Jan 26 2024, 8:39 PM



According to upstream diff and notes it only carries a small security fix. While fix is in standard library because Rust (like Go) defaults to static linking every consumer has to be rebuilt.

Test Plan
  • poudriere bulk -t lang/rust is green on 10.4 i386/amd64, 11.1 i386/amd64, 11.2 i386/amd64, 12.0 i386/amd64
  • poudriere bulk -tj 112amd64 -f rust-consumers.list is green except security/kr which fails for what looks like an unrelated issue.

Diff Detail

rP FreeBSD ports repository
Lint Not Applicable
Tests Not Applicable

Event Timeline

I was going to suggest the same once 1.29.1 has landed. I believe @dumbbell is already working on updating lang/rust (see

Please bump the minimum version in too. It's long overdue anyway.

jbeich edited the summary of this revision. (Show Details)
jbeich edited the test plan for this revision. (Show Details)
  • Bump required version for USES=cargo to make sure consumers get the fix
  • Mark testing as done


I tested (poudriere testport) a similar patch to lang/rust on 10.4 and 11.1, both amd64 and i386, and it works.

I will continue to look into LibreSSL support, but you can commit this already :-) Thank you!

This revision is now accepted and ready to land.Sep 28 2018, 8:26 AM
49 โ†—(On Diff #48531)

Rust < 1.29 doesn't appear to be affected, so the change is unnecessary. Let's go with D17346 instead.

$ rustc -vV
rustc 1.26.2
binary: rustc
commit-hash: unknown
commit-date: unknown
host: i686-unknown-freebsd
release: 1.26.2
LLVM version: 6.0

$ rustc

$ ./a
thread 'main' panicked at 'capacity overflow: CapacityOverflow', libcore/
note: Run with `RUST_BACKTRACE=1` for a backtrace.
49 โ†—(On Diff #48531)

The announcement on rustlang-security-announcements [1] says that Rust >= 1.26.0 is affected.


This revision was automatically updated to reflect the committed changes.
jbeich marked an inline comment as done.