Mikael Urankar
c13471c0db
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
2025-12-16 13:12:02 +01:00
Mikael Urankar
c1447e8990
lang/rust: Fix patch
...
PR: 291460
2025-12-09 10:37:13 +01:00
Mikael Urankar
f0d2dcfa5c
lang/rust: Really update to 1.91.1
...
Reported by: Gunther Nikl
PR: 290816
2025-11-11 13:04:20 +01:00
Mikael Urankar
cc3c8d7ead
lang/rust: Add files/patch-vendor_openssl-probe_src_lib.rs
...
Reported by: Gunther Nikl
Fixes: a01365ba22179d5ceabec53c65586012b75b4dab
2025-11-11 13:03:36 +01:00
Mikael Urankar
1a1ef8585f
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
2025-11-11 12:07:49 +01:00
Michael Osipov
a01365ba22
lang/rust: Replace OpenSSL system default truststore with a more generic one
2025-11-11 12:05:43 +01:00
Michael Osipov
45e5316c38
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
2025-10-10 22:49:02 +02:00
Mikael Urankar
22e64ae959
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
2025-10-03 10:16:48 +02:00
Dmitry Marakasov
904c41f204
lang/rust-nightly: update 1.91.0.20250805 → 1.91.0.20250907
...
Approved by: rust (implicit)
2025-09-09 22:57:53 +03:00
Mikael Urankar
6e65886aa5
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
2025-09-01 10:24:02 +02:00
Mikael Urankar
c61dde399b
lang/rust: fork 1.88 into a pinned port
...
A temporary workaround for devel/git-branchless and games/veloren-weekly.
PR: 288923, 289015, 289016
2025-09-01 10:24:01 +02:00
Dmitry Marakasov
1fba2c3046
lang/rust-nightly: update 1.90.0.20250709 → 1.90.0.20250727
...
Approved by: rust (implicit)
2025-08-01 17:10:01 +03:00
Mikael Urankar
a93cbed8b0
lang/rust: bump PORT_LLVM minimum version to 18
...
Source:
12167d7064
Reported by: Mark Millard <marklmi@yahoo.com>
2025-07-07 10:50:07 +02:00
Mikael Urankar
096f1677e0
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
2025-07-03 10:45:31 +02:00
Piotr Kubaj
4f7bdec82e
lang/rust: add missing __ suffix to __powerpc macro
2025-06-26 12:19:01 +02:00
Piotr Kubaj
609c0dc555
lang/rust: fix powerpc bootstrap
2025-06-26 11:23:07 +02:00
Mikael Urankar
2add7bc03f
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
2025-06-05 09:51:32 +02:00
Charlie Li
2924b2c5b8
lang/rust: remove max LLVM version restriction for PORT_LLVM
...
LLVM 20 now supported
2025-04-08 19:22:45 -04:00
Mikael Urankar
11e425bbfd
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
2025-04-08 10:41:10 +02:00
Charlie Li
10b9f3f22d
lang/rust: limit PORT_LLVM max to 19
...
LLVM 20 support currently only exists in trunk.
2025-03-27 03:45:59 -04:00
Mikael Urankar
d617602f66
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]
2025-03-21 09:39:35 +01:00
Mikael Urankar
3a627a5c54
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
2025-03-13 08:26:12 +01:00
Michael Osipov
0780826603
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
2025-03-07 18:44:16 +01:00
Mikael Urankar
0bd1fd4d88
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
2025-02-24 08:55:52 +01:00
Jan Beich
917563d82e
lang/rust182: remove port after 182ff2d0ad1b
2025-01-30 03:06:43 +01:00
Mikael Urankar
5c45325650
lang/rust: lang/rust: Update to 1.84.0
...
Announce: https://blog.rust-lang.org/2025/01/09/Rust-1.84.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.84.0
PR: 283962
Tested by: mikael,pkubaj
2025-01-20 12:04:35 +01:00
Mikael Urankar
237a71fe2c
lang/rust: Fix distinfo for armv7
...
PR: 283000
Reported by: Robert Clausecker <fuz@fuz.su>
2024-12-01 19:43:31 +01:00
Mikael Urankar
9474c17fbe
lang/rust: Update to 1.83.0
...
Announce: https://blog.rust-lang.org/2024/11/28/Rust-1.83.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.83.0
PR: 283000
Tested by: mikael,pkubaj,vishwin
2024-12-01 10:23:26 +01:00
Jan Beich
c3e06e3173
lang/rust: fork 1.82 into a pinned port
...
A temporary workaround for games/veloren-weekly.
PR: 283039
2024-12-01 01:52:16 +01:00
Mikael Urankar
c348a54792
lang/rust: Fix build on armv7
...
PR: 282663
2024-11-22 09:40:03 +01:00
Mikael Urankar
560fd669d2
lang/rust: Regen bootstrap for armv7
...
PR: 282663
2024-11-14 16:30:31 +01:00
Alan Somers
b039f2e46b
lang/rust: enable SSE2 by default on i386
...
Upstream Rust always requires SSE2 for x86. But back in 2017[^1][^2] we
patched lang/rust to disable SSE2 for i386. At the time, it was
reported that some people were still using non-SSE2 capable hardware.
More recently, LLVM bugs have been discovered[^3][^4] that can result in
rounding bugs and reduced accuracy when using f64 on non-SSE hardware.
In weird cases, they can even cause wilder unpredictable behavior, like
segfaults.
Revert our change for the sake of Pentium 4 (and later) users. But add
an SSE2 option. Disabling it will allow the port to be used on Pentium
3 and older CPUs.
[^1]: d65b2886b1
[^2]: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223415
[^3]: https://github.com/rust-lang/rust/issues/114479
[^4]: https://github.com/llvm/llvm-project/issues/44218
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D47227
2024-11-09 15:45:49 -07:00
Charlie Li
98cb8991b6
lang/rust: remove max LLVM version restriction for PORT_LLVM
2024-11-08 10:09:42 -05:00
Mikael Urankar
29120ed40f
lang/rust: Update to 1.82.0
...
Announce: https://blog.rust-lang.org/2024/10/17/Rust-1.82.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.82.0
PR: 282516
Tested by: mikael,pkubaj
2024-11-08 09:24:19 +01:00
Mikael Urankar
05961664b7
lang/rust: drop "gnu" in the target env for armv6/7
...
PR: 282518
2024-11-08 09:24:19 +01:00
Charlie Li
2501f5298c
lang/rust: limit PORT_LLVM max to 18
...
LLVM 19 support only starts in Rust 1.82; this restriction will be
removed once the update is committed.
2024-10-17 23:18:44 -04:00
Mikael Urankar
9e25c683b8
lang/rust-nightly: Update to 1.83.0
2024-10-03 15:05:35 +02:00
Yuri Victorovich
da2f3f630c
devel/RStudio: Revert "feat(create-turbo): apply official-starter transform"
...
This reverts commit 52c0456dd5ec259ac94ee401db79c7ad3569f914.
I have no idea what lead to this commit into devel/RStudio and
lang/rust-nightly to be made.
2024-10-02 12:38:44 -07:00
Turbobot
52c0456dd5
feat(create-turbo): apply official-starter transform
2024-10-02 12:12:31 -07:00
Mikael Urankar
26df8c65a2
lang/rust: Update to 1.81.0
...
Announce: https://blog.rust-lang.org/2024/09/05/Rust-1.81.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.81.0
PR: 281300
Tested by: mikael,pkubaj,Herbert J. Skuhra
2024-09-10 12:54:49 +02:00
Mikael Urankar
bc4fedc1fe
lang/rust: Update to 1.80.1
...
Announce: https://blog.rust-lang.org/2024/07/25/Rust-1.80.0.html
https://blog.rust-lang.org/2024/08/08/Rust-1.80.1.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.80.0
PR: 280490,246993
Tested by: mikael,pkubaj
2024-08-26 10:07:42 +02:00
Piotr Kubaj
923194c2b0
lang/rust: enable rls on powerpc
...
Builds fine on 13.3-RELEASE and newer.
2024-07-02 08:44:28 +02:00
Mikael Urankar
2f482fb4b1
lang/rust: Attempt to fix build on armv7
...
Reported by: mandree,mmel
2024-06-23 16:51:30 +02:00
Mikael Urankar
0f41de8c96
lang/rust: reintroduce EXTRA_PATCHES for specific ARCH
...
It was dropped in 988dc662364d9ab3d7cea82c642068a27b0c1254 but it's
still needed.
Reported by: mandree,mmel
2024-06-23 16:45:44 +02:00
Charlie Li
dbc2286b18
lang/rust: bump PORT_LLVM minimum version to 17
...
Source: 1ac0239bd2
2024-06-18 08:56:04 -04:00
Mikael Urankar
f709c74213
lang/rust: Update to 1.79.0
...
Announce: https://blog.rust-lang.org/2024/06/13/Rust-1.79.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.79.0
PR: 279707
Tested by: pkubaj,mikael
2024-06-18 12:59:01 +02:00
Mikael Urankar
dcf699af6b
lang/rust-nightly: Update to 2024-05-07
2024-05-13 13:04:10 +02:00
Mikael Urankar
7e86fe10e4
lang/rust: Update to 1.78.0
...
While here, disable RUST_BACKTRACE on ppc64le only
Announce: https://blog.rust-lang.org/2024/05/02/Rust-1.78.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.78.0
PR: 278834
Tested by: pkubaj,mikael
2024-05-13 13:03:21 +02:00
Dan McGregor
2a1d35b12b
lang/rust: remap debuginfo
...
Prior to this update, when the rust compiler generates warnings
or errors that refer to source code for the standard library, its
messaging use the build time path, rather than the installed path.
It's probably more useful for most users of rust to not have to
mentally rename files to find the files in question.
PR: 278133
Differential Revision: https://reviews.freebsd.org/D44547
2024-05-13 13:03:21 +02:00
Piotr Kubaj
54f7b9d654
lang/rust: enable RUST_BACKTRACE on powerpc since it seems it works now
2024-04-27 16:14:35 +02:00