From: | Georgy Yakovlev <gyakovlev@g.o> |
---|---|
To: | gentoo-dev@l.g.o |
Subject: | [gentoo-dev] cargo.eclass improvements |
Date: | Thu, 09 Feb 2023 20:49:19 |
Message-Id: | 20230209204847.3270114-1-gyakovlev@gentoo.org |
1 | Series of patches to cargo.eclass |
2 | most important chages are: |
3 | 1. minimum rust/cargo version bump, which will propogate to all |
4 | consumers. |
5 | 2. introduction of custom build profile (similar to what we do in Cmake) |
6 | This will allow to consistently specify build options, yeat allows |
7 | overrides from users or developers via envvars and/or args. |
8 | |
9 | PR: https://github.com/gentoo/gentoo/pull/29510 |
10 | |
11 | PS: still WIP, but most changes are ready. |
12 | Another upcoming change is to allow running 'cargo update' to be able to |
13 | bump vulnerable/outdated pkgs listed in CRATES. |
Subject | Author |
---|---|
[gentoo-dev] [PATCH 1/7] cargo.eclass: bump minimum rust to 1.57.0 | Georgy Yakovlev <gyakovlev@g.o> |
[gentoo-dev] [PATCH 2/7] cargo.eclass: pass --no-track to cargo install | Georgy Yakovlev <gyakovlev@g.o> |
[gentoo-dev] [PATCH 3/7] cargo.eclass: document undocumented variables, mark as readonly | Georgy Yakovlev <gyakovlev@g.o> |
[gentoo-dev] [PATCH 4/7] cargo.eclass: set progress.when = "never" in config | Georgy Yakovlev <gyakovlev@g.o> |
[gentoo-dev] [PATCH 7/7] cargo.eclass: filter out lto flags for C/CXX compilers | Georgy Yakovlev <gyakovlev@g.o> |
[gentoo-dev] [PATCH 6/7] cargo.eclass: set codegen-units = 1 | Georgy Yakovlev <gyakovlev@g.o> |
[gentoo-dev] [PATCH 5/7] cargo.eclass: use custom profile for all builds | Georgy Yakovlev <gyakovlev@g.o> |