Swap to stable Rustc (non-nightly) (#118)
* Swap to stable Rustc (non-nightly) * Remove toolchain? * cargo run?
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
# CHANGELOG
|
||||
|
||||
## 1.5.0-x
|
||||
|
||||
- Move to building via stable, not nightly
|
||||
|
||||
|
||||
## 1.4.1 Aug 27, 2020
|
||||
|
||||
- Rea-add the BTC/ETH compatible `bip39ToSeed` dropped in the previous version (ETH-compatible pairs)
|
||||
|
||||
@@ -19,8 +19,8 @@
|
||||
"test": "./scripts/test-rust.sh"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.11.6",
|
||||
"@polkadot/dev": "^0.57.1"
|
||||
"@babel/core": "^7.12.0",
|
||||
"@polkadot/dev": "^0.58.1"
|
||||
},
|
||||
"version": "1.5.0-beta.4"
|
||||
}
|
||||
|
||||
498
packages/wasm-crypto/Cargo.lock
generated
498
packages/wasm-crypto/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -18,11 +18,11 @@ crate-type = ["cdylib", "rlib"]
|
||||
backtrace = "0.3.38"
|
||||
blake2-rfc = "0.2.18"
|
||||
byteorder = "1.3.1"
|
||||
ed25519-dalek = { version = "1.0.0-pre.4", features = ["nightly"] }
|
||||
ed25519-dalek = { version = "1.0.0-pre.4", features = [] }
|
||||
hmac = "0.7.0"
|
||||
# libsecp256k1 = "0.2.2"
|
||||
pbkdf2 = { version = "0.3.0", default-features = false }
|
||||
schnorrkel = { version = "0.9.1", features = ["nightly", "preaudit_deprecated", "u64_backend"] }
|
||||
schnorrkel = { version = "0.9.1", features = ["preaudit_deprecated", "u64_backend"] }
|
||||
scrypt = { version = "0.2", default-features = false }
|
||||
sha2 = "0.8.1"
|
||||
tiny-bip39 = { version = "0.7", default-features = false }
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
"main": "index.js",
|
||||
"types": "index.d.ts",
|
||||
"devDependencies": {
|
||||
"@polkadot/dev": "^0.57.1",
|
||||
"@polkadot/dev": "^0.58.1",
|
||||
"@polkadot/util": "^3.5.1",
|
||||
"override-require": "^1.1.1"
|
||||
},
|
||||
|
||||
@@ -18,9 +18,9 @@ echo "*** Building package"
|
||||
echo "*** Cleaning old builds"
|
||||
rm -rf ./build ./pkg
|
||||
|
||||
# build new via nightly & wasm-pack
|
||||
# build new via wasm-pack
|
||||
echo "*** Building WASM output"
|
||||
rustup run nightly$NIGHTLY wasm-pack build --release --scope polkadot --target nodejs
|
||||
wasm-pack build --release --scope polkadot --target nodejs
|
||||
mv pkg build
|
||||
|
||||
# optimise
|
||||
|
||||
@@ -5,5 +5,5 @@
|
||||
|
||||
set -e
|
||||
|
||||
rustup toolchain install nightly$NIGHTLY
|
||||
rustup toolchain install stable
|
||||
yarn polkadot-ci-ghact-build
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
rustup toolchain install nightly$NIGHTLY
|
||||
rustup toolchain install stable
|
||||
./scripts/install-build-deps.sh
|
||||
|
||||
echo "*** Building packages"
|
||||
|
||||
@@ -5,8 +5,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
rustup toolchain install nightly$NIGHTLY
|
||||
|
||||
rustup toolchain install stable
|
||||
cd packages
|
||||
|
||||
PACKAGES=( $(ls -1d *) )
|
||||
@@ -16,7 +15,7 @@ for PKG in "${PACKAGES[@]}"; do
|
||||
cd $PKG
|
||||
echo "*** Testing Rust $PKG"
|
||||
|
||||
RUST_BACKTRACE=full rustup run nightly$NIGHTLY cargo test --release -- --nocapture
|
||||
RUST_BACKTRACE=full cargo test --release -- --nocapture
|
||||
|
||||
cd ..
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user