Bug 292713 - lang/rust: Update to 1.93.0
Summary: lang/rust: Update to 1.93.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: FreeBSD Rust Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-25 15:14 UTC by Mikael Urankar
Modified: 2026-01-28 12:44 UTC (History)
4 users (show)

See Also:
bugzilla: maintainer-feedback? (rust)


Attachments
v0 (15.12 KB, patch)
2026-01-25 15:14 UTC, Mikael Urankar
no flags Details | Diff
v1 (16.34 KB, patch)
2026-01-25 18:02 UTC, Mikael Urankar
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mikael Urankar freebsd_committer freebsd_triage 2026-01-25 15:14:12 UTC
Created attachment 267474 [details]
v0
Comment 1 Piotr Kubaj freebsd_committer freebsd_triage 2026-01-25 17:22:56 UTC
In lang/rust/Makefile, please bump to 13.5:
.if ${ARCH} == powerpc                                           
# Rust doesn't call the system compiler with the full version of the target.
# This makes powerpc miscompile due to the secure-plt ABI change.
# Additionally, force using ld.bfd to work around a linking problem in rustc_mir
        @${PRINTF} '#!/bin/sh\nexec ${CC} "$$@" --target=powerpc-unknown-freebsd13.2' > ${WRKDIR}/cc-wrapper
        @${CHMOD} +x ${WRKDIR}/cc-wrapper
        @${PRINTF} '#!/bin/sh\nexec ${CXX} "$$@" --target=powerpc-unknown-freebsd13.2' > ${WRKDIR}/cxx-wrapper
        @${CHMOD} +x ${WRKDIR}/cxx-wrapper                 
.endif
Comment 2 Mikael Urankar freebsd_committer freebsd_triage 2026-01-25 18:02:24 UTC
Created attachment 267477 [details]
v1

bump ppc target to freebsd13.5
Import D54619
Comment 3 Piotr Kubaj freebsd_committer freebsd_triage 2026-01-27 09:37:14 UTC
Looks ok.
Comment 4 commit-hook freebsd_committer freebsd_triage 2026-01-28 08:49:29 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=78c933ad0ae2d48b627179958af56aedf623d97a

commit 78c933ad0ae2d48b627179958af56aedf623d97a
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2026-01-22 19:13:47 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2026-01-28 08:48:51 +0000

    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]

 Mk/Uses/cargo.mk                                   |   4 +-
 Mk/bsd.gecko.mk                                    |   2 +-
 lang/rust-bootstrap/Makefile                       |   2 +-
 lang/rust-bootstrap/distinfo                       |   6 +-
 lang/rust/Makefile                                 |  11 ++-
 lang/rust/distinfo                                 | 102 ++++++++++-----------
 .../patch-vendor_openssl_crypto_threads__pthread.c |   4 +-
 7 files changed, 66 insertions(+), 65 deletions(-)
Comment 5 Michael Osipov freebsd_committer freebsd_triage 2026-01-28 12:13:48 UTC
This can be closed, right?