We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd2effe commit 7ba0dceCopy full SHA for 7ba0dce
configure
@@ -349,12 +349,15 @@ then
349
fi
350
351
352
-if [ ! -z "$CFG_ENABLE_LOCAL_RUST" -a ! -f ${CFG_LOCAL_RUST_ROOT}/bin/rustc ]
+if [ ! -z "$CFG_ENABLE_LOCAL_RUST" ]
353
then
354
- err "no local rust to use"
355
-else
356
- LRV=`${CFG_LOCAL_RUST_ROOT}/bin/rustc --version`
357
- step_msg "using rustc at: ${CFG_LOCAL_RUST_ROOT} with version: " $LRV
+ if [ ! -f ${CFG_LOCAL_RUST_ROOT}/bin/rustc ]
+ then
+ err "no local rust to use"
+ else
358
+ LRV=`${CFG_LOCAL_RUST_ROOT}/bin/rustc --version`
359
+ step_msg "using rustc at: ${CFG_LOCAL_RUST_ROOT} with version: " $LRV
360
+ fi
361
362
363
if [ -z "$CFG_ENABLE_CLANG" -a -z "$CFG_GCC" ]
0 commit comments