Re: [gentoo-dev] Add rust eclass to support multi-target compilation

2018-07-31 Thread gibix
> Your PR brokes tree:
> https://github.com/gentoo/gentoo/pull/9388#issuecomment-408914903
> 
> Please fix these issues as well, for both QA and CI checks. (These
> problems may be a result of ยง1 (not yet submitted changes to the
> tree).

Thanks, done.

> 
> It would be easier if your will split your improvements into series
> of atomic changes and submit them individually for review.

I split the commits and now are GLEP 66 compatible. They are enough atomic
to be cherry-picked.



signature.asc
Description: PGP signature


[gentoo-dev] Add rust eclass to support multi-target compilation

2018-07-30 Thread gibix
Hello,

I opened a PR here: https://github.com/gentoo/gentoo/pull/9388

Here a copy of the message:

# add support for rust multi-target

- add rust.eclass (with rust-utils.class) to support rust multi-target with
  multibuild
- modify cargo.class to support rust multi-target
- change dev-lang/rust slot system

This will allows projects like rustfmt, clippy, bindgen that need runtime
linking with the proper rust version to work correctly. Beyond this while
rust is getting older as project we will see more projects that will
require a specific rust version for compilation.

This PR replaces the need for rustup in gentoo for toolchain handling and
components.

requires:
- [features in
  
cargo-ebuild](https://github.com/cardoe/cargo-ebuild/pull/14/commits/1aefd302f9430c0b628923da23e2a8d74b83d1ec)
- [binaries support into
  eselect-rust](https://github.com/jauhien/eselect-rust/pull/4)

see first discussion on
[gentoo-rust](https://github.com/gentoo/gentoo-rust/pull/362)


signature.asc
Description: PGP signature