From 19962bc2e32bba61b0a377bfc1c95e15c8a5c96c Mon Sep 17 00:00:00 2001 From: wangshishuo Date: Fri, 24 Jul 2020 11:49:00 +0800 Subject: [PATCH] disable wasm_opt on aarch64 --- Cargo.lock | 2 +- Cargo.toml | 2 +- installer/init.sh | 4 ++-- npm/package.json | 2 +- src/wasm_opt.rs | 2 -- 5 files changed, 5 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 54f4d71..af44133 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1818,7 +1818,7 @@ dependencies = [ [[package]] name = "ssvmup" -version = "0.1.13" +version = "0.1.14" dependencies = [ "assert_cmd", "atty", diff --git a/Cargo.toml b/Cargo.toml index 123896d..0c437b4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ssvmup" -version = "0.1.13" +version = "0.1.14" authors = ["wangshishuo"] repository = "https://github.com/second-state/ssvmup.git" license = "MIT/Apache-2.0" diff --git a/installer/init.sh b/installer/init.sh index 8a613c7..2b6f867 100644 --- a/installer/init.sh +++ b/installer/init.sh @@ -15,7 +15,7 @@ set -u -UPDATE_ROOT="https://github.com/second-state/ssvmup/releases/download/v0.1.13" +UPDATE_ROOT="https://github.com/second-state/ssvmup/releases/download/v0.1.14" main() { downloader --check @@ -43,7 +43,7 @@ main() { which rustup > /dev/null 2>&1 need_ok "failed to find Rust installation, is rustup installed?" local _rustup=`which rustup` - local _tardir="ssvmup-v0.1.13-${_arch}" + local _tardir="ssvmup-v0.1.14-${_arch}" local _url="$UPDATE_ROOT/${_tardir}.tar.gz" local _dir="$(mktemp -d 2>/dev/null || ensure mktemp -d -t ssvmup)" local _file="$_dir/input.tar.gz" diff --git a/npm/package.json b/npm/package.json index 85b1234..0e7cfa7 100644 --- a/npm/package.json +++ b/npm/package.json @@ -1,6 +1,6 @@ { "name": "ssvmup", - "version": "0.1.13", + "version": "0.1.14", "description": "SSVM ready tool", "main": "binary.js", "scripts": { diff --git a/src/wasm_opt.rs b/src/wasm_opt.rs index 20e2da1..5c0383a 100644 --- a/src/wasm_opt.rs +++ b/src/wasm_opt.rs @@ -79,8 +79,6 @@ pub fn find_wasm_opt(cache: &Cache, install_permitted: bool) -> Result