rustc, cargo: 1.14.0 -> 1.15.0, 0.15.0 -> 0.16.0

This commit is contained in:
Tadas Barzdzius
2017-02-03 15:53:09 +02:00
parent 5b759293e0
commit c4bb0c7bb4
4 changed files with 15 additions and 40 deletions
@@ -56,6 +56,8 @@ stdenv.mkDerivation {
++ [ "--enable-local-rust" "--local-rust-root=${rustPlatform.rust.rustc}" "--enable-rpath" ]
# ++ [ "--jemalloc-root=${jemalloc}/lib"
++ [ "--default-linker=${stdenv.cc}/bin/cc" "--default-ar=${binutils.out}/bin/ar" ]
# TODO: Remove when fixed build with rustbuild
++ [ "--disable-rustbuild" ]
++ optional (stdenv.cc.cc ? isClang) "--enable-clang"
++ optional (targets != []) "--target=${target}"
++ optional (!forceBundledLLVM) "--llvm-root=${llvmShared}";