Gentoo Archives: gentoo-dev

From: Andrew Savchenko <bircoph@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Add rust eclass to support multi-target compilation
Date: Mon, 30 Jul 2018 16:33:05
Message-Id: 20180730193255.f2f3ce91687050f1f6f94d94@gentoo.org
In Reply to: [gentoo-dev] Add rust eclass to support multi-target compilation by gibix
1 Hi!
2
3 On Mon, 30 Jul 2018 17:00:20 +0200 gibix wrote:
4 > Hello,
5 >
6 > I opened a PR here: https://github.com/gentoo/gentoo/pull/9388
7 >
8 > Here a copy of the message:
9 >
10 > # add support for rust multi-target
11 >
12 > - add rust.eclass (with rust-utils.class) to support rust multi-target with
13 > multibuild
14 > - modify cargo.class to support rust multi-target
15 > - change dev-lang/rust slot system
16 >
17 > This will allows projects like rustfmt, clippy, bindgen that need runtime
18 > linking with the proper rust version to work correctly. Beyond this while
19 > rust is getting older as project we will see more projects that will
20 > require a specific rust version for compilation.
21 >
22 > This PR replaces the need for rustup in gentoo for toolchain handling and
23 > components.
24 >
25 > requires:
26 > - [features in
27 > cargo-ebuild](https://github.com/cardoe/cargo-ebuild/pull/14/commits/1aefd302f9430c0b628923da23e2a8d74b83d1ec)
28 > - [binaries support into
29 > eselect-rust](https://github.com/jauhien/eselect-rust/pull/4)
30 >
31 > see first discussion on
32 > [gentoo-rust](https://github.com/gentoo/gentoo-rust/pull/362)
33
34 If you are submitting code to the main tree, please submit all
35 requirements to the tree first.
36
37 Your PR brokes tree:
38 https://github.com/gentoo/gentoo/pull/9388#issuecomment-408914903
39
40 Please fix these issues as well, for both QA and CI checks. (These
41 problems may be a result of §1 (not yet submitted changes to the
42 tree).
43
44 It would be easier if your will split your improvements into series
45 of atomic changes and submit them individually for review.
46
47 Best regards,
48 Andrew Savchenko

Replies

Subject Author
Re: [gentoo-dev] Add rust eclass to support multi-target compilation gibix <gibix@××××××.net>