diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2020-06-11 23:48:46 -0700 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2020-06-11 23:50:27 -0700 |
commit | b4de7d877132d95544df77c92bab692af8c24c2d (patch) | |
tree | d2805a0abd00b5d59c5bc7d9c70e36e633287918 /dev-lang | |
parent | dev-python/rsa: Bump to 4.2 (diff) | |
download | gentoo-b4de7d877132d95544df77c92bab692af8c24c2d.tar.gz gentoo-b4de7d877132d95544df77c92bab692af8c24c2d.tar.bz2 gentoo-b4de7d877132d95544df77c92bab692af8c24c2d.zip |
dev-lang/rust: add some comments to cross section
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/rust/rust-1.44.0.ebuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-lang/rust/rust-1.44.0.ebuild b/dev-lang/rust/rust-1.44.0.ebuild index 1a6fdeabca6f..a0e29a784e93 100644 --- a/dev-lang/rust/rust-1.44.0.ebuild +++ b/dev-lang/rust/rust-1.44.0.ebuild @@ -344,8 +344,13 @@ src_configure() { EOF fi + # append cross target to "normal" target list + # example 'target = ["powerpc64le-unknown-linux-gnu"]' + # becomes 'target = ["powerpc64le-unknown-linux-gnu","aarch64-unknown-linux-gnu"]' + rust_targets="${rust_targets},\"${cross_rust_target}\"" sed -i "/^target = \[/ s#\[.*\]#\[${rust_targets}\]#" config.toml || die + ewarn ewarn "enabled ${rust_target} rust target, using ${cross_toolchain} cross toolchain" ewarn |