From c6bf784d39bbc782137a6c79a672d18ea5235029 Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Wed, 6 Feb 2019 19:07:21 +0100 Subject: [PATCH] Misc changes --- build_sysroot/build_sysroot.sh | 1 - src/abi.rs | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/build_sysroot/build_sysroot.sh b/build_sysroot/build_sysroot.sh index 2e332be7e60..33da1e3dd67 100755 --- a/build_sysroot/build_sysroot.sh +++ b/build_sysroot/build_sysroot.sh @@ -6,7 +6,6 @@ cd $(dirname "$0") cargo clean rm Cargo.lock 2>/dev/null || true rm -r sysroot 2>/dev/null || true -rm -r target 2>/dev/null || true # FIXME find a better way to get the target triple unamestr=`uname` diff --git a/src/abi.rs b/src/abi.rs index 0045866dfdd..3093ad69eb9 100644 --- a/src/abi.rs +++ b/src/abi.rs @@ -356,8 +356,7 @@ fn local_place<'a, 'tcx: 'a>( local, ty, size.bytes(), align.abi.bytes(), align.pref.bytes(), )), _ => unreachable!(), - }; - + } } // Take stack_addr in advance to avoid many duplicate instructions