Update to rust version 1.32.0

This commit is contained in:
Johan Anderholm
2019-01-17 16:29:43 +01:00
parent cb383b0d90
commit b3d1b589ee
10 changed files with 89 additions and 5 deletions
+3 -3
View File
@@ -374,6 +374,7 @@ do_rust_setup_snapshot[dirs] += "${WORKDIR}/rust-snapshot"
python do_configure() {
import json
from distutils.version import LooseVersion
try:
import configparser
except ImportError:
@@ -412,9 +413,8 @@ python do_configure() {
config.set("rust", "rpath", e(True))
config.set("rust", "channel", e("stable"))
# Don't use jemalloc as it doesn't work for many targets.
# https://github.com/rust-lang/rust/pull/37392
config.set("rust", "use-jemalloc", e(False))
if LooseVersion(d.getVar("PV")) < LooseVersion("1.32.0"):
config.set("rust", "use-jemalloc", e(False))
# Whether or not to optimize the compiler and standard library
config.set("rust", "optimize", e(True))