| non port: Mk/Uses/cargo.mk |
Number of commits found: 161 (showing only 100 on this page) |
|
Thursday, 6 Aug 2026
|
13:14 Piotr Kubaj (pkubaj)
Mk/Uses/cargo.mk: enable RUST_BACKTRACE on powerpc64le on recent CURRENT
Fixed in base 70509d1d9cba254dfd5b3dd83d8a011b5e125788.
efbbbce |
|
Monday, 27 Jul 2026
|
10:29 Jessica Clarke (jrtc27)
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
4dc0e9a |
10:29 Jessica Clarke (jrtc27)
Mk/Uses/cargo.mk: Drop stray backslashes from DEV_ERROR/WARNING messages
These appear as literal backslashes in the output rather than escaping
anything.
PR: 281600
Reviewed by: mikael (rust)
Approved by: mikael (rust)
MFH: 2026Q3
f6977b7 |
|
Tuesday, 21 Jul 2026
|
06:46 Mikael Urankar (mikael)
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
3f5d9c2 |
|
Thursday, 4 Jun 2026
|
08:51 Mikael Urankar (mikael)
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
2876062 |
|
Monday, 1 Jun 2026
|
08:51 Piotr Kubaj (pkubaj)
sysutils/rust-coreutils: fix unit tests
PR: 294424, 294597
Reported by: diizzy
9a777e4 |
|
Monday, 27 Apr 2026
|
12:26 Mikael Urankar (mikael)
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
3c97139 |
|
Monday, 23 Mar 2026
|
07:32 Mikael Urankar (mikael)
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
49f0df5 |
|
Wednesday, 28 Jan 2026
|
08:48 Mikael Urankar (mikael)
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]
78c933a |
|
Tuesday, 16 Dec 2025
|
12:12 Mikael Urankar (mikael)
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
c13471c |
|
Tuesday, 11 Nov 2025
|
11:07 Mikael Urankar (mikael)
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
1a1ef85 |
|
Friday, 3 Oct 2025
|
08:16 Mikael Urankar (mikael)
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
22e64ae |
|
Friday, 19 Sep 2025
|
02:02 Yuri Victorovich (yuri)
Mk/Uses/cargo.mk: Allow to build Rust subprojects
cargo-based ports can now set CARGO_SRC_SUBDIR=path/to/rust/subproject
and it will be configured correctly.
The build/install/test phases would be done by the enclosing project.
PR: 289659
Approved by: mikael@ (on behalf of rust@)
310d284 |
|
Monday, 1 Sep 2025
|
08:24 Mikael Urankar (mikael)
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
6e65886 |
|
Sunday, 31 Aug 2025
|
21:07 Michael Osipov (michaelo) Author: Tijl Coosemans
Mk/Uses/cargo.mk: Define ar and linker in RUSTFLAGS
Otherwise base system ar and cc are always used.
PR: 283529
Approved by: jrm (mentor), otis (mentor), mikael (rust maintainer)
MFH: 2025Q3
Differential Revision: https://reviews.freebsd.org/D51804
0ab0b75 |
|
Monday, 25 Aug 2025
|
15:20 Michael Osipov (michaelo)
Mk/Uses/cargo.mk: Fix incorrect linker argument in RUSTFLAGS
According to the manpage of rustc(1) it is: link-args='-flag1 -flag2'
an 's' was missing.
Approved by: jrm (mentor), otis (mentor), mikael (rust maintainer)
MFH: 2025Q3
Differential Revision: https://reviews.freebsd.org/D51803
fe640c9 |
|
Thursday, 3 Jul 2025
|
08:45 Mikael Urankar (mikael)
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
096f167 |
|
Thursday, 5 Jun 2025
|
07:51 Mikael Urankar (mikael)
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
2add7bc |
|
Tuesday, 8 Apr 2025
|
08:41 Mikael Urankar (mikael)
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
11e425b |
|
Monday, 24 Feb 2025
|
07:55 Mikael Urankar (mikael)
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
0bd1fd4 |
|
Monday, 20 Jan 2025
|
11:04 Mikael Urankar (mikael)
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
5c453256 |
|
Sunday, 1 Dec 2024
|
09:23 Mikael Urankar (mikael)
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
9474c17 |
|
Friday, 8 Nov 2024
|
08:24 Mikael Urankar (mikael)
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
29120ed |
|
Wednesday, 23 Oct 2024
|
03:11 Yuri Victorovich (yuri)
Mk/Uses/cargo.mk: Remove cross-compilation options for Rust-based ports
Reasons:
* Port build shouldn't use cross-compilation mode
because it buids for the same architecture.
* RUSTFLAGS isn't passed to the build of all or some Rust ports
in the cross-compilation mode.
Essential changes:
* Remove the CARGO_BUILD_TARGET make variable.
* Remove CARGO_BUILD_TARGET and CARGO_TARGET_* from CARGO_ENV.
* Update many ports that used CARGO_BUILD_TARGET.
* Build paths now don't include the architecture triplet part.
Immadiate benefits:
* Unbreak build on architectures like i386 that sometimes require
special RUSTFLAGS that were not effective in the cross-compilation
mode.
Ports that really need cross-compilation for some reason should
enable it on case-by-case basis. Example: net-p2p/cncli
(Not sure why does net-p2p/cncli actually need it, but it only
builds with these options.)
PR: 280305
Approved by: rust@FreeBSD.org (maintainer's timeout; 98 days)
f99a708 |
|
Tuesday, 10 Sep 2024
|
10:54 Mikael Urankar (mikael)
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
26df8c6 |
|
Monday, 26 Aug 2024
|
08:07 Mikael Urankar (mikael)
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
bc4fedc |
|
Wednesday, 24 Jul 2024
|
19:06 Daniel Engberg (diizzy)
Mk/Uses/cargo.mk: Enable LTO again
Disabled in 06601897e5cd4afcc31f3b508b2cbb2bc7d4a677
Previous commit 967022fd812cf67dec264ee4e53bd016b69e7a2b
6419fe9 |
|
Tuesday, 18 Jun 2024
|
10:59 Mikael Urankar (mikael)
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
f709c74 |
|
Thursday, 6 Jun 2024
|
07:48 Po-Chuan Hsieh (sunpoet)
Mk/Uses/cargo.mk: Generate Cargo.lock in the right place
Sometimes we use non-default CARGO_CARGOTOML/CARGO_CARGOLOCK, that means the
Cargo.{toml,lock} are not under WRKSRC. Therefore, we change it from WRKSRC to
CARGO_CARGOTOML:H in order to generate Cargo.lock in the right place.
PR: 279495
Approved by: mikael
af47301 |
|
Monday, 13 May 2024
|
11:03 Mikael Urankar (mikael)
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
7e86fe1 |
|
Friday, 12 Apr 2024
|
07:53 Mathieu Arnold (mat)
framework: reintroduce the feature enabling code
For each feature (see in Mk/Features) users can now set these variables
in their make.conf. Using LTO as an example.
To enable globally:
WITH_LTO= yes
To disable globally (for example ssp is enabled by default):
WITHOUT_LTO= yes
To enable for a specific list of ports:
WITH_LTO_PORTS= lang/perl5.36
To disable for a specific list of ports:
WITHOUT_LTO_PORTS= lang/perl5.36
Differential Revision: https://reviews.freebsd.org/D44750
0660189 |
|
Thursday, 11 Apr 2024
|
19:40 Mathieu Arnold (mat)
Revert "Mk/Uses: Fix feature checks after my previous {WITH,WITHOUT}_*_PORTS
change"
This reverts commit 665b0219e541019b849fd5a1efdf032081dcf610.
0660146 |
17:53 Gleb Popov (arrowd)
Mk/Uses: Fix feature checks after my previous {WITH,WITHOUT}_*_PORTS change
Test Plan:
Take cmake.mk for example. Choosing a port with USES=cmake and running
`make -V CMAKE_BUILD_TYPE` gives "Release" and
`make -V CMAKE_BUILD_TYPE WITH_DEBUG=yes` gives "Debug". However,
`make -V CMAKE_BUILD_TYPE WITH_DEBUG_PORTS=this/port` still gives "Release"
unless this change is applied.
Differential Revision: https://reviews.freebsd.org/D44748
Fixes: d697653cffd19ddaf3cdee2589a830c72ab39777
Approved by: bapt
665b021 |
|
Saturday, 23 Mar 2024
|
19:35 Gleb Popov (arrowd)
Uses/cargo.mk: Fix enabling LTO
PR: 277902
3c26c5a |
09:41 Mikael Urankar (mikael)
lang/rust: Update to 1.77.0
Announce: https://blog.rust-lang.org/2024/03/21/Rust-1.77.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.77.0
PR: 277786
Tested by: mikael
73941e6 |
|
Thursday, 29 Feb 2024
|
20:21 Tijl Coosemans (tijl)
Mk/*: Build with a clean environment
Both our make and gmake use the MAKEFLAGS environment variable but the
values aren't compatible and the latest version of gmake complains about
that. To rule out that any environment variable can cause problems like
this, add a new command SETENVI=/usr/bin/env -i that clears the
environment, and use it to run upstream build systems with a clean
environment.
Introduce a new variable WRK_ENV that contains the environment to use
with SETENVI in all targets that run upstream build commands. Variables
that are common between CONFIGURE_ENV and MAKE_ENV could be moved to
WRK_ENV but for now it just contains a minimal environment:
HOME=${WRKDIR}: Fixes USES=elixir ports that were using the user's HOME.
OSVERSION: For cross building; determines the output of uname -K and
getosreldate(3); affects net/freebsd-telnetd for example.
PATH: Fixes USES=gem ports that were using the user's PATH.
PWD=$${PWD}: Preserve current working directory; affects USES=go ports.
TERM: To preserve colored output to terminals.
TMPDIR: For users who define that.
UNAME_*: For cross building; determines the output of uname(1); affects
lang/python* for example.
This commit deals with everything under Mk/. Ports that have their own
targets running upstream build commands can switch to SETENVI later.
The ports tree adds its definition of ARCH to the MAKEFLAGS environment
variable, which is interpreted by sub-makes as command line arguments,
which means that any definition of ARCH in upstream makefiles was
overridden. The following ports required fixes now that this is no
longer the case.
games/iortcw, games/q3cellshading, games/tremulous:
These use Quake 3 engine code. Fix use of ARCH. Reduce diff between
FreeBSD code and Linux code.
games/legesmotus:
Remove ARCH related patches.
lang/ocaml:
Patch configure script so it detects amd64 correctly. Also make the
powerpc case consistent with the other architectures. This also affects
other ocaml ports like devel/ocaml-ocamlbuild and math/ocaml-num that
include a Makefile.config installed by lang/ocaml. While here, use
SETENVI in check-test target.
net/libnatpmp:
Use of upstream definition of ARCH triggers installation in PREFIX/lib64
on amd64. Disable this.
PR: 276478
Approved by: portmgr (antoine)
Exp-run by: antoine
572f236 |
|
Monday, 19 Feb 2024
|
11:59 Mikael Urankar (mikael)
lang/rust: Update to 1.76.0
Announce: https://blog.rust-lang.org/2024/02/08/Rust-1.76.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.76.0
PR: 276920
Tested by: mikael,pkubaj
2252f9d |
|
Sunday, 11 Feb 2024
|
11:48 Piotr Kubaj (pkubaj)
Mk/Uses/cargo.mk: remove duplicate check for LTO, Mk/Features/lto.mk already
does it
33b550f |
|
Tuesday, 9 Jan 2024
|
12:13 Mikael Urankar (mikael)
lang/rust: Update to 1.75.0
Announce: https://blog.rust-lang.org/
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.75.0
PR: 276033
Tested by: mikael,pkubaj
ba388fc |
|
Sunday, 7 Jan 2024
|
15:14 Joel Bodenmann (jbo) Author: Dmitry Wagin
Mk/Uses/cargo.mk: Fix cargo-extract target
Fix an issue where the cargo-extract target fails when a port sets DIST_SUBDIR.
PR: 275634
Approved by: tcberner (mentor), rust (tobik)
Differential Revision: https://reviews.freebsd.org/D43259
c2e360d |
|
Wednesday, 3 Jan 2024
|
14:09 Piotr Kubaj (pkubaj)
Mk/Uses/cargo.mk: remove ELFv1 support
96118b6 |
|
Friday, 8 Dec 2023
|
15:02 Mikael Urankar (mikael)
lang/rust: Update to 1.74.1
Announce: https://blog.rust-lang.org/2023/12/07/Rust-1.74.0.html
https://blog.rust-lang.org/2023/11/16/Rust-1.74.1.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.74.0
https://github.com/rust-lang/rust/releases/tag/1.74.1
PR: 275243
Tested by: mikael,pkubaj
c926bbf |
|
Tuesday, 24 Oct 2023
|
10:21 Mikael Urankar (mikael)
lang/rust: Update to 1.73.0
Announce: https://blog.rust-lang.org/2023/10/05/Rust-1.73.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.73.0
PR: 274499
Tested by: mikael,pkubaj
13de47f |
|
Friday, 8 Sep 2023
|
09:05 Mikael Urankar (mikael)
lang/rust: Update to 1.72.0
Announce: https://blog.rust-lang.org/2023/08/24/Rust-1.72.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.72.0
PR: 244316
Tested by: mikael,pkubaj
fa87481 |
|
Saturday, 12 Aug 2023
|
01:37 Piotr Kubaj (pkubaj)
Mk/Uses/cargo.mk: enable LTO on powerpc64
0b85c85 |
|
Monday, 17 Jul 2023
|
15:57 Mikael Urankar (mikael)
lang/rust: Update to 1.71.0
Announce: https://blog.rust-lang.org/2023/07/13/Rust-1.71.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.71.0
PR: 272449
Tested by: mikael,pkubaj,vishwin
e3d08df |
|
Friday, 9 Jun 2023
|
11:38 Mikael Urankar (mikael)
lang/rust: Update to 1.70.0
Announce: https://blog.rust-lang.org/2023/06/01/Rust-1.70.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.70.0
PR: 271797
Tested by: mikael,pkubaj
6b97895 |
|
Saturday, 6 May 2023
|
05:47 Daniel Engberg (diizzy)
Mk/Uses/cargo.mk: Strip features defined by CPUTYPE for aarch64 and armv7
Strip features from CPUTYPE set by make.conf as these are not supported
by Rust compiler and causes build failures
Approved by: rust (pkubaj)
Differential Revision: https://reviews.freebsd.org/D39889
670abe5 |
|
Sunday, 23 Apr 2023
|
13:13 Mikael Urankar (mikael)
lang/rust: Update to 1.69.0
Announce: https://blog.rust-lang.org/2023/04/20/Rust-1.69.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.69.0
PR: 270953
Tested by: mikael,pkubaj
8cc5eb3 |
|
Tuesday, 4 Apr 2023
|
08:21 Jan Beich (jbeich)
Mk/Uses/cargo.mk: unbundle archivers/zstd
Tested by: kai (games/anki)
Differential Revision: https://reviews.freebsd.org/D39279
046448b |
08:21 Jan Beich (jbeich)
Mk/Uses/cargo.mk: chase b23ea4e2d2f5
PR: 268877
118dcbb |
|
Thursday, 16 Mar 2023
|
11:11 Mikael Urankar (mikael)
lang/rust: Update to 1.68.0
Announce: https://blog.rust-lang.org/2023/03/09/Rust-1.68.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.68.0
PR: 270080
Tested by: mikael,pkubaj
a22be89 |
|
Monday, 13 Feb 2023
|
09:38 Mikael Urankar (mikael)
lang/rust: Update to 1.67.1
Announce: https://blog.rust-lang.org/2023/01/26/Rust-1.67.0.html
https://blog.rust-lang.org/2023/02/09/Rust-1.67.1.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.67.0
https://github.com/rust-lang/rust/releases/tag/1.67.1
PR: 269336
Reviewed by: pkubaj
Tested by: mikael,pkubaj
be2a720c |
|
Saturday, 7 Jan 2023
|
19:22 Daniel Engberg (diizzy)
Mk/Uses/cargo.mk: Enable WITH_LTO by default
Ports utilizing Cargo will now enable Link Time Optimization (LTO),
set error handling mechanism to abort and codegen-units to 1 by default.
Exceptions are powerpc64 and riscv64 where LTO is known to be broken
and disabled to avoid unnecessary breakage. Ports utilizing LTO will
output "Additional optimization to port applied" during build.
WITH_LTO is handled by Mk/Features/lto.mk and to disable define
LTO_UNSAFE=yes.
I'd also like to mention arrowd and tobik for helpful input
and thanks to everyone involved.
Reviewed by: mikael (via irc), pkubaj
Tested by: eduardo (build)
Approved by: rust (mikael, pkubaj)
Differential Revision: https://reviews.freebsd.org/D36736
967022f |
|
Tuesday, 20 Dec 2022
|
17:36 Mikael Urankar (mikael)
lang/rust: Update to 1.66.0
Announce: https://blog.rust-lang.org/2022/12/15/Rust-1.66.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.66.0
PR: 268415
Exp-run by: antoine
Tested by: mikael,pkubaj
0f9b08f |
|
Thursday, 17 Nov 2022
|
07:06 Mikael Urankar (mikael)
lang/rust: Update to 1.65.0
Announce: https://blog.rust-lang.org/2022/11/03/Rust-1.65.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.65.0
PR: 267622
Reviewed by: tokib, pkubaj
Tested by: mikael, pkubaj
af39fba |
|
Tuesday, 8 Nov 2022
|
09:12 Tobias Kortkamp (tobik)
USES=cargo: Fix CARGO_BUILDDEP=any-version
Fix update.sh to only replace the first version.
922686e |
|
Sunday, 30 Oct 2022
|
12:07 Mikael Urankar (mikael)
lang/rust: Update to 1.64.0
Announce: https://blog.rust-lang.org/2022/09/22/Rust-1.64.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.64.0
PR: 267173
264a6c5 |
|
Thursday, 25 Aug 2022
|
21:16 Tobias Kortkamp (tobik)
Uses/cargo: Allow using any Rust version if requested
Skip the Rust version check when CARGO_BUILDDEP=any-version
The current version check is justified by USES=cargo making use
of newer toolchain features that not all Cargo versions support
and the fact that Rust binaries are statically linked against
libstd (and others) which have been vulnerable in the past.
We can enforce the use of the correct toolchain only with the
version check. Together with revision bumps of all ports that
have lang/rust as input we can ensure that they are kept "fresh"
and relinked whenever lang/rust is updated.
According to amdmi3@ skipping the check might be useful for build
testing in some cases.
Individual ports should not set CARGO_BUILDDEP=any-version. It
can be set in make.conf or on the command line by users.
PR: 265062
Reported by: amdmi3
4b50067 |
14:49 Baptiste Daroussin (bapt)
rust: bring back update to 1.63
Revert back the revert of the update of rust and related commits
This revert was drive by beside validation by portmgr via exp-run
and not respectful of the etiquette we have between committers
This reverts commit 8ecb1f8141144c1603eb4026122d2e60eeaccd64.
This reverts commit 04d257baa182926cff158f32cf459e560426add0.
This reverts commit 2757c63bd0e6d01f9f0657fe03bb3a7b49adcae2.
This reverts commit 75f4713de5e3fbd1c6a0cb572e08121814a4072e.
This reverts commit e88e592111c86fdd1c0ac8717dbef9342e15e27c.
This reverts commit 783c056d7d681d66e2c5c59251c275d65274028e.
With hat: portmgr
b9b250f |
10:49 Piotr Kubaj (pkubaj)
Revert "lang/rust: Update to 1.63.0"
This reverts commit f36cc819accadae1fefc14c203e5fbe9c74e1492.
I asked for an exp-run for powerpc and powerpc64 on a recently provided
cluster machine but got no reply.
PR: 265915
8ecb1f8 |
08:50 Mikael Urankar (mikael)
lang/rust: Update to 1.63.0
Announce: https://blog.rust-lang.org/2022/08/11/Rust-1.63.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.63.0
Tested by: mikael, pkubaj
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D36247
f36cc81 |
|
Saturday, 2 Jul 2022
|
13:47 Mikael Urankar (mikael)
lang/rust: Update to 1.62.0
Announce: https://blog.rust-lang.org/2022/06/30/Rust-1.62.0.html
ChangeLog: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1610-2022-06-30
Tested by: mikael, pkubaj
Differential Revision: https://reviews.freebsd.org/D35675
558a5e4 |
|
Tuesday, 31 May 2022
|
13:06 Mikael Urankar (mikael)
lang/rust: Update to 1.61.0
Announce: https://blog.rust-lang.org/2022/05/19/Rust-1.61.0.html
ChangeLog: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1610-2022-05-19
Reviewed by: pkubaj
Differential Revision: https://reviews.freebsd.org/D35335
aa578f2 |
|
Sunday, 1 May 2022
|
16:39 Mikael Urankar (mikael)
lang/rust: Update to 1.60.0
- Switch to using "x.py dist" instead of "x.py build" in the do-build phase as
we are missing the rustc-dev component on nightly
- Revert part of [1] as it causes cross build problem with
lang/rust-bootstrap@powerpc
- Mark devel/racer as deprecated: it's hard to maintain due to recurrent build
problem
and it's not actively maintained. Upstream advises to use
devel/rust-analyzer instead.
[1]
https://github.com/rust-lang/rust/commit/07dae5a97b64100f5abd511f1e2d5a6263a54006
Announce: https://blog.rust-lang.org/2022/04/07/Rust-1.60.0.html
ChangeLog: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1600-2022-04-07
Reviewed by: tobik
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D34823
e57dfbf |
|
Sunday, 24 Apr 2022
|
10:00 Tobias C. Berner (tcberner)
framework: cleanup conditional-indentations in Mk/
Run Tools/scripts/indent_make_if.pl on all of Mk.
These white space changes contribute greatly to the readability of those files.
As we have a version control system, finding out the reasons for the changes
prior to these white space changes is still easily possible
Differential Revision: https://reviews.freebsd.org/D35024
Reviewed by: portmgr (rene, bapt)
aa25396 |
|
Saturday, 23 Apr 2022
|
07:40 Tobias Kortkamp (tobik)
Uses/cargo: Try to simplify cargo-crates-merge usage
Always start with a clean work directory state and end with one
too. Automatically run makesum too.
7fb087a |
07:39 Tobias Kortkamp (tobik)
Uses/cargo: Add cargo-audit maintainer target
It wraps security/cargo-audit and generates a report about
vulnerable crates. Many ports have those. Based on D17448.
d00e326 |
|
Tuesday, 19 Apr 2022
|
12:09 Piotr Kubaj (pkubaj)
Mk/Uses/cargo.mk: set correct target CPU on powerpc
85a1684 |
|
Tuesday, 29 Mar 2022
|
18:24 Piotr Kubaj (pkubaj)
Mk/Uses/cargo.mk: disable RUST_BACKTRACE on powerpc following cargo segfaults on
13.1
f2d29fa |
|
Tuesday, 15 Mar 2022
|
09:51 Mikael Urankar (mikael)
lang/rust: Update to 1.59.0
Changes: https://blog.rust-lang.org/FIXME/Rust-1.59.0.html
PR: 262449
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D34471
53e4457 |
|
Thursday, 3 Feb 2022
|
14:02 Tobias Kortkamp (tobik)
lang/rust: Update to 1.58.1
https://blog.rust-lang.org/2022/01/20/Rust-1.58.1.html
PR: 261449
Security: ee26f513-826e-11ec-8be6-d4c9ef517024
bd3a927 |
|
Monday, 17 Jan 2022
|
11:56 Tobias Kortkamp (tobik)
lang/rust: Update to 1.58.0
Changes: https://blog.rust-lang.org/2022/01/13/Rust-1.58.0.html
PR: 261150
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D33864
1835888 |
|
Thursday, 23 Dec 2021
|
10:10 Tobias Kortkamp (tobik)
lang/rust: Add riscv64 (riscv64gc-unknown-freebsd) support
A kernel with COMPAT_FREEBSD11 is required for now like on all
other FreeBSD archs. FreeBSD11 never had riscv64 support, so
GENERIC does not have it and a kernel rebuild is required. The
same issue existed on powerpc64le.
The riscv64gc-unknown-freebsd target was upstreamed and will
be part of Rust 1.59.0 (2021-02-24).
Reviewed by: jrtc27, pkubaj
Differential Revision: https://reviews.freebsd.org/D32881
96eec29 |
|
Sunday, 5 Dec 2021
|
12:35 Tobias Kortkamp (tobik)
lang/rust: Update to 1.57.0
- Unbreak build with LibreSSL 3.4.x [0]
- Disable backtrace's libunwind backend on armv* since it or
libunwind in base seem to be buggy and cause rustc to crash when
building some consumers [1]
- Follow rust-nightly in d5f09dc31fcfdb77b69c86b9093bf67ec67653d9
and reenable hardlinks in the build
Changes: https://blog.rust-lang.org/2021/12/02/Rust-1.57.0.html
PR: 259738 [0]
PR: 259799 [1]
PR: 260140
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D33190
With hat: rust
237b36f |
|
Sunday, 7 Nov 2021
|
15:24 Tobias Kortkamp (tobik)
Uses/cargo: Make it easier to build ports with out-of-tree toolchain
- CARGO_CARGO_BIN -> CARGO
- Add RUSTC and RUSTDOC for overriding rustc and rustdoc
d2eb03d |
15:24 Tobias Kortkamp (tobik)
Uses/cargo: Mirror _RUST_ARCH_* mapping from lang/rust
2487e48 |
|
Tuesday, 26 Oct 2021
|
14:46 Tobias Kortkamp (tobik)
Uses/cargo: Add a cargo-crates-merge maintainer target
It is the in-place version of cargo-crates and updates CARGO_CRATES
in the port's Makefile for you via portedit from ports-mgmt/portfmt.
6180c0b |
|
Monday, 25 Oct 2021
|
08:49 Tobias Kortkamp (tobik)
Uses/cargo: Rework git source support based on patch-in-config sections
Git sources from `Cargo.lock` are added to `CARGO_CRATES` through
the normal mechanism of `make cargo-crates` by the porter. They
are used to populate `MASTER_SITES`, `DISTFILES` with static
git-archive(1) tarballs a la `USE_GITHUB`, `USE_GITLAB`. In the
configure phase we generate `[patch]` sections in the config file
which will cause `cargo update` to auto-update `Cargo.lock` to point
to the appropriate extraction directories.
Normally `cargo update` would connect to the network to update all
Git sources but since rust-1.55.0 our cargo has been patched to
skip this when `CARGO_FREEBSD_PORTS_SKIP_GIT_UPDATE` is set in the
environment.
This replaces the old `CARGO_USE_GITHUB`, `CARGO_USE_GITLAB` hacks
where this was done by editing all `Cargo.toml` with sed(1) calls.
Additionally, we try to automatically infer the individiual crate
sub-directories inside the Git sources based on `package.name` in
`Cargo.toml` to remove the need for `CARGO_GIT_SUBDIR`.
USES=cargo also now sets `WRKSRC_crate_$name` for each crate to
point to the crate extraction directories.
PR: 256581
Reviewed by: jbeich
2bad8d1 |
08:46 Tobias Kortkamp (tobik)
lang/rust: Update to 1.56.0
- Drop codegen-units=1 again as it seems to negatively impact build
time for some people [1]
Changes: https://blog.rust-lang.org/2021/10/21/Rust-1.56.0.html
PR: 256099 [1]
PR: 259251
Reviewed by: jbeich, mikael, pkubaj
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D32553
124261f |
|
Sunday, 19 Sep 2021
|
09:03 Tobias Kortkamp (tobik) Author: Jan Beich
Uses/cargo: respect CC when --target is passed
devel/cargo-c always passes --target when building consumers.
Some other USES=cargo consumers may also pass --target.
Differential Revision: https://reviews.freebsd.org/D31568
93924a2 |
09:03 Tobias Kortkamp (tobik)
lang/rust: Update to 1.55.0
- Set codegen-units=1 [1]
- Add hack to skip cargo update on git sources as a step towards solving [2]
- Fix 'capacity overflow' panics on armv* [3]
Changes: https://blog.rust-lang.org/2021-09-09/Rust-1.55.0.html
PR: 258337
PR: 256099 [1]
PR: 256581 [2]
PR: 257419 [3]
Reviewed by: mikael, pkubaj
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D31872
With hat: rust
6f1fefb |
|
Tuesday, 7 Sep 2021
|
16:53 Tobias Kortkamp (tobik)
Scripts/cargo-crates.awk: Move split_url() to separate file
Also stop leaking local variables
d8fbaa5 |
08:04 Tobias Kortkamp (tobik)
Uses/cargo: Try to load Makefile.crates
Some ports stash the `make cargo-crates` output there which might as
well be supported by USES=cargo.
905b1bd |
|
Monday, 6 Sep 2021
|
19:28 Tobias Kortkamp (tobik)
lang/rust*: Mk/Uses/cargo.mk: Move TMPDIR to WRKDIR
rustc stashes intermediary files in TMPDIR (default /tmp) which
might cause issues for users that for some reason space limit their
/tmp. WRKDIR should have plenty of space.
Other ports that use rustc might be affected too, but set it only
in USES=cargo and lang/rust* ports for now.
PR: 258126
With hat: rust
b1670e2 |
|
Saturday, 28 Aug 2021
|
13:38 Mikael Urankar (mikael) Author: pouet
lang/rust: Update to 1.54.0
- Update lang/rust to 1.54.0
- Update devel/racer to 2.1.48
- Fix various consumers
Changes: https://blog.rust-lang.org/2021/07/29/Rust-1.54.0.html
Reviewed by: tobik, pkubaj
Differential Revision: https://reviews.freebsd.org/D31617
With hat: rust
55dbdde |
|
Sunday, 27 Jun 2021
|
05:39 Tobias Kortkamp (tobik)
lang/rust: Update to 1.53.0
Changes: https://blog.rust-lang.org/2021/06/17/Rust-1.53.0.html
PR: 256653
Reviewed by: mikael, pkubaj
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D30790
With hat: rust
f897ded |
|
Tuesday, 11 May 2021
|
17:29 Tobias Kortkamp (tobik)
Mk/Uses/cargo.mk: Refactor MASTER_SITES and DISTFILES construction (D30099)
Split CARGO_CRATES into (index, crate, name, version) 4-tuples and
use them to construct MASTER_SITES and DISTFILES. We can also match
crate name and versions more directly below.
As a bonus this is slightly faster and will flag a malformed
CARGO_CRATES earlier with a "wrong number of words" error.
Runtime of the following command was noticeably faster
$ <rust-ports /usr/bin/time xe -F make -C {} -V DISTFILES -V MASTER_SITES
>/dev/null
Before: 56.99 real 50.05 user 6.44 sys
Now: 38.89 real 31.63 user 6.86 sys
PR: 255608
Exp-run by: antoine
bfd3382 |
17:29 Tobias Kortkamp (tobik)
lang/rust: Update to 1.52.1
- Add 32-bit powerpc support from bdragon@
- Unbreak build with LibreSSL 3.3.x [1]
- Add an update script
Changes: https://blog.rust-lang.org/2021/05/06/Rust-1.52.0.html
Changes: https://blog.rust-lang.org/2021/05/10/Rust-1.52.1.html
PR: 255608, 255652 [1]
Reviewed by: mikael, pkubaj
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D30099
d883741 |
|
Wednesday, 28 Apr 2021
|
04:44 Tobias Kortkamp (tobik)
Mk/Uses/cargo.mk: Use canonical crate file extension going forward
Crates should have the file extension .crate not .tar.gz. Cargo
saves them with that extension and it is also what their original
name was according to file(1):
$ file rust/crates/*
rust/crates/better-panic-0.2.0.tar.gz:gzip compressed data, was
"better-panic-0.2.0.crate"
rust/crates/binary-space-partition-0.1.2.tar.gz:gzip compressed data, was
"binary-space-partition-0.1.2.crate"
...
The only reason we used .tar.gz is that it was that way in OpenBSD's
devel/cargo/cargo.port.mk module. At the moment they are all .tar.gz
but they might have a different format in the future.
Doing a delayed rollout of this over a change-everything-once
approach to
- not immeditately invalidate all uncommitted port changes or
external ports
- not make sweeping changes twice in main and 2021Q2
at the cost of having a transition period where mirrors might have
to carry both the .tar.gz and .crate tarballs (all crates combined
are ~600 MiB).
Reviewed by: jbeich
MFH: 2021Q2 (to ease future cherry picks)
Differential Revision: https://reviews.freebsd.org/D29760
3758b33 |
|
Monday, 19 Apr 2021
|
09:07 Luca Pizzamiglio (pizzamig)
Uses/cargo: Improve URL subsitution for ports using CARGO_USE_GIT[HUB|LAB]
While maintaing a rust application, I found a cargo.toml that specifies
the git URL with { git="https://..." }, cargo.mk expects a form like { git =
"https://" }.
This patch improve the regex making the spaces around the '=' optional
Test: built all ports using the CARGO_USE_GIT feature
Approved by: tobik
Differential Revision: https://reviews.freebsd.org/D29805
58744a0 |
|
Wednesday, 14 Apr 2021
|
12:22 Tobias Kortkamp (tobik)
Speed up USES=cargo ports ops
MASTER_SITES aliases processing in the framework is very inefficient
and the CRATESIO indirection is not worth it. Normally ports only
have a handful of sites at most, but USES=cargo currently adds one
site for each crate by necessity. The inefficiency suddenly matters
a lot.
By consuming MASTER_SITE_CRATESIO directly we can sidestep this
issue without losing anything.
Before:
$ time make -C www/zola -V MASTER_SITES >/dev/null
4.21 real 4.14 user 0.03 sys
After:
$ time make -C www/zola -V MASTER_SITES >/dev/null
0.60 real 0.58 user 0.02 sys
ffd4db6 |
|
Tuesday, 13 Apr 2021
|
07:05 Tobias Kortkamp (tobik)
Mk/Uses/cargo.mk: Make build scripts more verbose
Build scripts might build bundled libraries but non-error output
is hiddden by cargo. Given a crate with large enough bundled library
(looking at you rusty_v8) the build just sits there in silence
forever and you do not know what is happening or if anything is
happening at all. This also makes Poudriere build logs less useful.
Pass an additional --verbose to cargo to get more noisy output.
https://doc.rust-lang.org/cargo/reference/build-scripts.html#outputs-of-the-build-script
7bec7b1 |
|
Tuesday, 6 Apr 2021
|
14:27 Mathieu Arnold (mat)
framework: Remove $FreeBSD$
Where appropriate fiddle with a few other things.
5d33e04 |
|
Monday, 29 Mar 2021
|
18:07 tobik
lang/rust: Update to 1.51.0
- Update devel/racer to 2.1.44
Changes: https://blog.rust-lang.org/2021/03/25/Rust-1.51.0.html
PR: 254578
Reviewed by: mikael, pkubaj
Exp-run by: antoine
With hat: rust
Differential Revision: https://reviews.freebsd.org/D29425
 |
|
Sunday, 14 Feb 2021
|
15:45 mikael
lang/rust: Update to 1.50.0
- Use bundled libgit/libssh, the versions in ports are too old
- Update lang/rust-nightly to 2021-02-12
- Update devel/racer to 2.1.41
- Import upstream patch to fix build issue for Firefox and related ports
(https://bugzilla.mozilla.org/show_bug.cgi?id=1684261)
Changes: https://github.com/rust-lang/rust/releases/tag/1.50.0
Tested by: mikael, pkubaj
Differential Revision: https://reviews.freebsd.org/D28616
 |
|
Tuesday, 24 Nov 2020
|
12:48 mikael
lang/rust: Update to 1.48.0
Changes: https://github.com/rust-lang/rust/releases/tag/1.48.0
Reviewed by: jbeich
Tested by: bdragon, jbeich, mikael
Differential Revision: https://reviews.freebsd.org/D27293
 |
|
Tuesday, 10 Nov 2020
|
15:42 pkubaj
Add powerpc64le since it uses the same CPU models as powerpc64.
 |
|
Tuesday, 13 Oct 2020
|
08:36 mikael
lang/rust: Update to 1.47.0
- Add powerpc64le arch (submitted by bdragon in D26711)
- Disable DOCS, same problem fixed in r546048
- Update devel/racer to 2.1.36
- Import upstream patch to fix www/firefox
(https://hg.mozilla.org/integration/autoland/rev/e2cede25c027)
- Import gentoo patches to fix www/firefox-esr, www/cliqz and mail/thunderbird
(https://dev.gentoo.org/~whissi/mozilla/patchsets/firefox-esr-78-patches-03.tar.xz
: 0036, 0037 and 0038)
- Force rebuild all consumers to catch regressions
Changelog:
https://github.com/rust-lang/rust/releases/tag/1.47.0
Differential Revision: https://reviews.freebsd.org/D26721
 |
|
Saturday, 19 Sep 2020
|
13:01 pkubaj
Use correct target-cpu for power* CPU's
Using CPUTYPE?=power9 causes warnings and emits unoptimized code. Rust supports
pwr* instead of power*, e.g.:
pwr3
pwr4
pwr5
pwr5x
pwr6
pwr6x
pwr7
pwr8
pwr9
 |
Number of commits found: 161 (showing only 100 on this page) |