Gentoo Archives: gentoo-dev

From: gibix <gibix@××××××.net>
To: gentoo-dev@l.g.o
Cc: cardoe@g.o, lu_zero@g.o, alicef@g.o
Subject: [gentoo-dev] Add rust eclass to support multi-target compilation
Date: Mon, 30 Jul 2018 15:02:10
Message-Id: 20180730150020.2t3rqhsyf7c4h3bi@nolla
1 Hello,
2
3 I opened a PR here: https://github.com/gentoo/gentoo/pull/9388
4
5 Here a copy of the message:
6
7 # add support for rust multi-target
8
9 - add rust.eclass (with rust-utils.class) to support rust multi-target with
10 multibuild
11 - modify cargo.class to support rust multi-target
12 - change dev-lang/rust slot system
13
14 This will allows projects like rustfmt, clippy, bindgen that need runtime
15 linking with the proper rust version to work correctly. Beyond this while
16 rust is getting older as project we will see more projects that will
17 require a specific rust version for compilation.
18
19 This PR replaces the need for rustup in gentoo for toolchain handling and
20 components.
21
22 requires:
23 - [features in
24 cargo-ebuild](https://github.com/cardoe/cargo-ebuild/pull/14/commits/1aefd302f9430c0b628923da23e2a8d74b83d1ec)
25 - [binaries support into
26 eselect-rust](https://github.com/jauhien/eselect-rust/pull/4)
27
28 see first discussion on
29 [gentoo-rust](https://github.com/gentoo/gentoo-rust/pull/362)

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies