267 Commits

Author SHA1 Message Date
semarie 4d1fd98747 lang/rust: fix typo. noticed by aja@ 2026-06-10 07:39:01 +00:00
semarie 7e375a37b8 lang/rust: fix -gdb RUN_DEPENDS for following MODCLANG_VERSION
make RUN_DEPENDS-gdb to depends on MODCLANG_VERSION (without hardcoding the version)

noticed by tb@
2026-06-10 06:01:43 +00:00
semarie 988a78bc4c update lang/rust to 1.96.0
Announce: https://blog.rust-lang.org/2026/05/28/Rust-1.96.0/
Release notes: https://doc.rust-lang.org/stable/releases.html#version-1960-2026-05-28

ok landry@
2026-06-03 11:15:20 +00:00
semarie 884013b75e lang/rust: update to 1.95.0
Announce: https://blog.rust-lang.org/2026/04/16/Rust-1.95.0/
Release notes: https://doc.rust-lang.org/stable/releases.html#version-1950-2026-04-16

ok tb@ landry@
2026-05-06 18:30:06 +00:00
jca b4de719cd5 Update aarch64, riscv64 and sparc64 bootstraps to rust-1.94.1
ok semarie@ (maintainer)
2026-04-06 16:59:42 +00:00
semarie a77a7f9d2f update lang/rust to 1.94.1
ChangeLog: https://blog.rust-lang.org/2026/03/05/Rust-1.94.0/ and https://blog.rust-lang.org/2026/03/26/1.94.1-release/
2026-03-26 16:20:52 +00:00
semarie cd8f2da3ba update lang/rust to 1.93.1
Announce: https://blog.rust-lang.org/2026/02/12/Rust-1.93.1/

Rust 1.93.1 resolves three regressions that were introduced in the 1.93.0 release.

- Don't try to recover a keyword as a non-keyword identifier, fixing an internal
  compiler error (ICE) that especially affected rustfmt.

- Fix a clippy::panicking_unwrap false-positive on field access with an implicit
  dereference.

- Revert an update to wasm-related dependencies, fixing file descriptor leaks on
  the wasm32-wasip2 target. This only affects the rustup component for this
  target, so downstream toolchain builds should check their own dependencies too.
2026-02-15 19:53:05 +00:00
jca 9ed33e545d rust-1.93 bootstrap for sparc64
ok semarie@
2026-02-12 13:45:12 +00:00
jca a9f6c29f45 Crank DPB_PROPERTIES up to "parallel2"
rust's build system parallelizes well so let this use more jobs on
machines where the admin has bumped "parallel2". I've been using this
for months on all rust archs.

Discussed with semarie@, no objection from porters
2026-02-11 18:05:24 +00:00
jca a36cef1f9f rust-1.93 bootstrap for riscv64
ok semarie@
2026-02-11 17:58:32 +00:00
semarie 1d4831e647 lang/rust: update to 1.93.0
Announce: https://blog.rust-lang.org/2026/01/22/Rust-1.93.0/
Release notes: https://doc.rust-lang.org/stable/releases.html#version-1930-2026-01-22
2026-02-04 19:40:04 +00:00
jca 6b52053a2b Update riscv64 and sparc64 bootstraps to rust-1.92.0
Needed by semarie for his rust-1.93 wip diff, ok semarie@
2026-01-26 14:23:26 +00:00
jca baa2e034fa Update riscv64 bootstraps to rust-1.91.1
Reminded by semarie@
2026-01-22 08:21:55 +00:00
semarie 5b78749106 update lang/rust to 1.92.0
Announce: https://blog.rust-lang.org/2025/12/11/Rust-1.92.0/
ChangeLog: https://doc.rust-lang.org/stable/releases.html#version-1920-2025-12-11

with help from landry@
2025-12-13 15:21:28 +00:00
sthen 7f098a19e7 place MODULES before including bsd.port.arch.mk, otherwise PKG_ARGS set
from modules aren't used. without this, python's -V 1 isn't added, tripping
PLIST_DB. from semarie.
2025-11-16 09:58:45 +00:00
semarie a56933cb75 update lang/rust to 1.91.1
Announce: https://blog.rust-lang.org/2025/11/10/Rust-1.91.1/
2025-11-12 14:53:01 +00:00
semarie c0d2ceafaa update lang/rust to 1.91.0
Announce: https://blog.rust-lang.org/2025/10/30/Rust-1.91.0/
Release notes: https://doc.rust-lang.org/stable/releases.html#version-1910-2025-10-30
2025-11-11 19:00:06 +00:00
sthen e913264341 remove MODPY_COMMENT from PLISTs, no longer needed 2025-10-23 13:19:51 +00:00
semarie f423ada75e lang/rust: update to 1.90.0
Announce: https://blog.rust-lang.org/2025/09/18/Rust-1.90.0/
Release notes: https://doc.rust-lang.org/stable/releases.html#version-1900-2025-09-18
2025-09-18 14:10:27 +00:00
semarie 89543e41dd lang/rust: update to 1.89.0
Announce: https://blog.rust-lang.org/2025/08/07/Rust-1.89.0/
Release notes: https://doc.rust-lang.org/stable/releases.html#version-1890-2025-08-07
2025-08-11 06:52:16 +00:00
semarie 3753cb2e54 update lang/rust to 1.88.0
Announce: https://blog.rust-lang.org/2025/06/26/Rust-1.88.0/
Release notes: https://doc.rust-lang.org/stable/releases.html#version-1880-2025-06-26
2025-06-27 07:48:07 +00:00
semarie 658a9b071a update lang/rust to 1.87.0 (missing part)
trigger updates of all compiled rust packages
2025-05-16 18:41:40 +00:00
semarie 8a24957cb8 update lang/rust to 1.87.0
Announce: https://blog.rust-lang.org/2025/05/15/Rust-1.87.0/
Release notes: https://doc.rust-lang.org/stable/releases.html#version-1870-2025-04-03
2025-05-16 15:03:00 +00:00
semarie 6a0fd8fd15 update lang/rust to 1.86.0
Announce: https://blog.rust-lang.org/2025/04/03/Rust-1.86.0.html
Release notes: https://doc.rust-lang.org/stable/releases.html#version-1860-2025-04-03
2025-04-03 18:13:22 +00:00
sthen a50b2a24ac lang/rust: pending further investigation, set USE_NOBTCFI-aarch64 for now,
and switch to a nobtcfi bootstrap. With the 1.85.0 update, rustc SIGILLs
(with ktrace showing ILL_BTCFI) on M2.

First noticed by jca when trying to build rust where "rustc -vV" fails.

ok semarie@ jca@
2025-02-28 09:59:00 +00:00
semarie fd093af9dd lang/rust: unbreak configure on amd64 and aarch64
use a proper if-shell else if the directory is here, the whole command will fail, and so the target too.

noticed by tb@
2025-02-22 08:13:13 +00:00
tb dbb5297485 rust: remove ldep on libssh2
discussed with semarie
2025-02-21 11:14:21 +00:00
semarie 2abe9a9498 update lang/rust to 1.85.0 (missed rust.port.mk bump) 2025-02-21 10:18:30 +00:00
semarie 65d6eb3eaa update lang/rust to 1.85.0
Announce: https://blog.rust-lang.org/2025/02/20/Rust-1.85.0.html
Changelog: https://doc.rust-lang.org/stable/releases.html#version-1850-2025-02-20

while here:
- switch to llvm19
- use embedded ssh2 (simplify pkgconf stuff)
2025-02-21 10:16:07 +00:00
sthen 6e61da69fd handle cmake reorg 2025-02-20 15:28:27 +00:00
tb 4443c9b766 rust: pull in rust-openssl commit for upcoming libcrypto major 2025-02-06 19:59:59 +00:00
semarie b6c25f9f3d lang/rust: update to 1.84.1
Announce: https://blog.rust-lang.org/2025/01/30/Rust-1.84.1.html
2025-01-31 05:52:21 +00:00
semarie a33eb867c9 lang/rust: unbreak build on sparc64
rename the bootstrap tarball without p0. the directory inside the final tar
doesn't contains it, and the build doesn't found the binary else.

reported by kmos@
2025-01-30 07:53:27 +00:00
sthen f06a2a7658 bump REVISION for ports where WANTLIB changed on !base-clang archs due
to recent COMPILER_LIBCXX changes; fiddlier ones

explicitly set "WANTLIB-foo= # empty" in a few ports to make it clear
where it wasn't done
2025-01-28 14:49:50 +00:00
semarie 4b3c46890c update lang/rust to 1.84.0
Announce: https://blog.rust-lang.org/2025/01/09/Rust-1.84.0.html
Changelog: https://doc.rust-lang.org/stable/releases.html#version-1840-2025-01-09
2025-01-27 14:10:32 +00:00
sthen 04b7aaf307 handle py3.12 switchover in lang 2024-12-21 11:38:19 +00:00
semarie 0a75684d08 update lang/rust to 1.83.0
Announce: https://blog.rust-lang.org/2024/11/28/Rust-1.83.0.html
Changelog: https://doc.rust-lang.org/stable/releases.html#version-1830-2024-11-28
2024-11-29 12:02:25 +00:00
jca adfc592e9a Update to rust-1.82 bootstrap on riscv64
Discussed with semarie@
2024-11-11 18:56:16 +00:00
jca 7e73e4127b rust-1.82 needs a fixed rust-1.81 bootstrap to build on riscv64
1.81.0 bootstrap built with
https://github.com/rust-lang/rust/commit/99e6a28804eac57faa37134d61a2bb17069996a2
to workaround https://github.com/rust-lang/rust/issues/129268

Help from and ok semarie@ (maintainer)
2024-11-11 18:04:40 +00:00
semarie fe45c3210e lang/rust: remove i386 patches and support, and adjust SUPDISTFILES 2024-10-26 14:14:50 +00:00
semarie 6a1387b85a update lang/rust to 1.82.0
mark i386 broken (fail to build due to ENOMEM).
i386 will be removed from RUST_ARCHS
2024-10-26 13:18:49 +00:00
semarie bc80cc6893 lang/rust: set more precise dependency on -main for others subpackages
reported by Matthew Martin phy1729 gmail com
2024-09-12 12:06:37 +00:00
semarie 92f15b505c update lang/rust to 1.81.0
Announce: https://blog.rust-lang.org/2024/09/05/Rust-1.81.0.html
ReleaseNotes: https://doc.rust-lang.org/nightly/releases.html#version-1810-2024-09-05

ok landry@
2024-09-09 10:31:21 +00:00
tb 006603f7ab lang/rust: prepare for upcoming libcrypto bump
all patches are upstreamed to rust-openssl and will go away eventually
2024-08-30 15:17:23 +00:00
semarie b5ecb23261 lang/rust: update to 1.80.1
Announce: https://blog.rust-lang.org/2024/08/08/Rust-1.80.1.html

fix a miscompilation when comparing floats.
force rebuild all ports.
2024-08-09 08:34:46 +00:00
semarie 802a89f81b lang/rust: update to 1.80.0
Announce: https://blog.rust-lang.org/2024/07/25/Rust-1.80.0.html
ChangeLog: https://doc.rust-lang.org/nightly/releases.html#version-1800-2024-07-25
2024-08-07 09:38:34 +00:00
jca 3e7fd2baa2 Stop building the lldb subpackage on all archs
Follow base and only build it on amd64 and arm64.

Tests and ok tb@ on a previous version
ok sthen@ semarie@ (maintainer)
2024-07-31 19:42:33 +00:00
jca 8cbb1f55c3 Fix lldb version
ok semarie@ (maintainer)
2024-07-31 19:38:32 +00:00
semarie 50c82876f8 update lang/rust to 1.79.0
and bump _SYSTEM_VERSION-rust
2024-06-13 16:00:12 +00:00
semarie 51164b62c7 update lang/rust to 1.79.0
Announce: https://blog.rust-lang.org/2024/06/13/Rust-1.79.0.html
Changelog: https://doc.rust-lang.org/nightly/releases.html#version-1790-2024-06-13
2024-06-13 15:59:15 +00:00