summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2019-02-24 23:19:52 +0000
committerJames Le Cuirot <chewi@gentoo.org>2019-02-24 23:19:52 +0000
commit74ecef85908202a33018ed9decdcf57bdd4d25d7 (patch)
tree9d9cfc5418879eb90008e05c731b67adb1fa4fe3 /dev-lang/rust
parentapp-text/referencer: Add USE test, missing ${PYTHON_REQUIRED_USE} (diff)
downloadgentoo-74ecef85908202a33018ed9decdcf57bdd4d25d7.tar.gz
gentoo-74ecef85908202a33018ed9decdcf57bdd4d25d7.tar.bz2
gentoo-74ecef85908202a33018ed9decdcf57bdd4d25d7.zip
dev-lang/rust: Fix wasm USE flag by restoring WebAssembly target
Bug: https://bugs.gentoo.org/678186 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'dev-lang/rust')
-rw-r--r--dev-lang/rust/rust-1.30.1-r1.ebuild2
-rw-r--r--dev-lang/rust/rust-1.31.1.ebuild2
-rw-r--r--dev-lang/rust/rust-1.32.0.ebuild2
3 files changed, 3 insertions, 3 deletions
diff --git a/dev-lang/rust/rust-1.30.1-r1.ebuild b/dev-lang/rust/rust-1.30.1-r1.ebuild
index 123b8e3f2793..676b05614752 100644
--- a/dev-lang/rust/rust-1.30.1-r1.ebuild
+++ b/dev-lang/rust/rust-1.30.1-r1.ebuild
@@ -137,7 +137,7 @@ src_configure() {
release-debuginfo = $(toml_usex debug)
assertions = $(toml_usex debug)
targets = "${LLVM_TARGETS// /;}"
- experimental-targets = ""
+ experimental-targets = "$(usex wasm WebAssembly '')"
link-shared = $(toml_usex system-llvm)
[build]
build = "${rust_target}"
diff --git a/dev-lang/rust/rust-1.31.1.ebuild b/dev-lang/rust/rust-1.31.1.ebuild
index be183fd05b47..a4074c8e232f 100644
--- a/dev-lang/rust/rust-1.31.1.ebuild
+++ b/dev-lang/rust/rust-1.31.1.ebuild
@@ -137,7 +137,7 @@ src_configure() {
release-debuginfo = $(toml_usex debug)
assertions = $(toml_usex debug)
targets = "${LLVM_TARGETS// /;}"
- experimental-targets = ""
+ experimental-targets = "$(usex wasm WebAssembly '')"
link-shared = $(toml_usex system-llvm)
[build]
build = "${rust_target}"
diff --git a/dev-lang/rust/rust-1.32.0.ebuild b/dev-lang/rust/rust-1.32.0.ebuild
index 73715829cfaa..06578ddc8bfd 100644
--- a/dev-lang/rust/rust-1.32.0.ebuild
+++ b/dev-lang/rust/rust-1.32.0.ebuild
@@ -143,7 +143,7 @@ src_configure() {
release-debuginfo = $(toml_usex debug)
assertions = $(toml_usex debug)
targets = "${LLVM_TARGETS// /;}"
- experimental-targets = ""
+ experimental-targets = "$(usex wasm WebAssembly '')"
link-shared = $(toml_usex system-llvm)
[build]
build = "${rust_target}"