Bug 1451931 - Add gcc/lib64 to the LD_LIBRARY_PATH of sm-rust-binding. r=glandium
authorMasatoshi Kimura <VYV03354@nifty.ne.jp>
Fri, 06 Apr 2018 22:02:50 +0900
changeset 413103 2852286117d3415763691f042c71db595d77c8d7
parent 413102 f52a56dc215cfd8ea7310c168632d33531fc8c90
child 413104 b50c6e4262d18d5ecdc3f5af2c029525534d64fc
push id33833
push useraiakab@mozilla.com
push dateFri, 13 Apr 2018 09:41:15 +0000
treeherdermozilla-central@260e4c83c8a9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs1451931
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1451931 - Add gcc/lib64 to the LD_LIBRARY_PATH of sm-rust-binding. r=glandium MozReview-Commit-ID: 6VdXCtBDiQ8
taskcluster/scripts/builder/build-sm-rust-bindings.sh
--- a/taskcluster/scripts/builder/build-sm-rust-bindings.sh
+++ b/taskcluster/scripts/builder/build-sm-rust-bindings.sh
@@ -6,13 +6,14 @@ source $(dirname $0)/sm-tooltool-config.
 
 # Ensure that we have a .config/cargo that points us to our vendored crates
 # rather than to crates.io.
 cd "$SRCDIR/.cargo"
 sed -e "s|@top_srcdir@|$SRCDIR|" -e 's|@[^@]*@||g' < config.in > config
 
 cd "$SRCDIR/js/rust"
 
+export LD_LIBRARY_PATH="$TOOLTOOL_CHECKOUT/gcc/lib64"
 # Enable backtraces if we panic.
 export RUST_BACKTRACE=1
 
 cargo test --verbose --frozen --features debugmozjs
 cargo test --verbose --frozen