| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
The rust eclass has been updated to directly inject a required
MULTILIB_USEDEP when requested.
RUST_USEDEP has been renamed to RUST_REQUIRED_USE to be consistent
with other eclasses.
llvm-r1 should be imported after cargo and the eclass now enables this.
Signed-off-by: Matt Jolly <kangie@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Prefer to avoid having pseudo-duplicate phases where possible.
Also simplify src_test, this has no tests (thus why there was no
phase defined using cargo-c) but still need to avoid cargo_src_test
or it'll start compiling.
Bug: https://bugs.gentoo.org/943114
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
For multilib, rust eclass needs to consume MULTILIB_USEDEP
to generate an appropriate dependency string.
This means that multilib needs to be inherited before rust/cargo,
and therefore we need to define the phases to include multilib.
Signed-off-by: Matt Jolly <kangie@gentoo.org>
|
|
Tidyups:
- $(cargo_crate_uris)
- Rust BDEPENDS come from the eclass except in very rare
circumstances (RUST_OPTIONAL=1)
- RUST_M{AX,IN}_VER where required.
- Suboptimal crate separator (`-` -> `@`)
Signed-off-by: Matt Jolly <kangie@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/39218
Signed-off-by: Matt Jolly <kangie@gentoo.org>
|