From 11c8e116a10cc26dcf8730976ba1831a79aa6e0d Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sun, 15 Apr 2018 23:08:31 +0200 Subject: [PATCH] Don't use -Z to support non-nightly Rust. --- cmake/Rust.cmake | 1 - 1 file changed, 1 deletion(-) diff --git a/cmake/Rust.cmake b/cmake/Rust.cmake index 8bed97f..09cf44b 100644 --- a/cmake/Rust.cmake +++ b/cmake/Rust.cmake @@ -68,7 +68,6 @@ function(get_rust_deps local_root_file out_var) execute_process(COMMAND ${RUSTC_EXECUTABLE} ${RUSTC_FLAGS} ${OPT_OTHER_RUSTC_FLAGS} ${flags} "${root_file}") endif() - set(flags "-Zno-analysis") message(STATUS "Getting Rust dependency info for crate root ${local_root_file}") execute_process(COMMAND ${RUSTC_EXECUTABLE} ${RUSTC_FLAGS} ${OPT_OTHER_RUSTC_FLAGS} ${flags} --emit dep-info -o "${dep_dir}/deps.d" "${root_file}")