From: bors Date: Tue, 24 Apr 2018 14:36:52 +0000 (+0000) Subject: Auto merge of #5394 - henriklaxhuber:master, r=alexcrichton X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~1^2~45 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9092298d44027791b89908cfa64dc3de138b3b74;p=cargo.git Auto merge of #5394 - henriklaxhuber:master, r=alexcrichton Pass linker path to build script This change adds the environment variable LINKER to pass the path of the linker used by cargo to the build script. This complements the variable RUSTC (the rustc binary used) to give the build script full knowledge of its environment. A specific usage example would be automatically generating bindings to system headers in cross compilation, e.g. by locating jni.h for android targets. --- 9092298d44027791b89908cfa64dc3de138b3b74