Skip to content

Commit

Permalink
[chores] Remove +nightly qualifier bc/ of rust-toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
pepyakin committed Apr 9, 2019
1 parent 1e93523 commit fd5b1b8
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cli/src/cmd/new.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ fn build_sh_contents(name: &str) -> String {
PROJNAME={}
CARGO_INCREMENTAL=0 &&
cargo +nightly build --release --target=wasm32-unknown-unknown --verbose &&
cargo build --release --target=wasm32-unknown-unknown --verbose &&
wasm2wat -o target/$PROJNAME.wat target/wasm32-unknown-unknown/release/$PROJNAME.wasm &&
cat target/$PROJNAME.wat | sed "s/(import \"env\" \"memory\" (memory (;0;) 2))/(import \"env\" \"memory\" (memory (;0;) 2 16))/" > target/$PROJNAME-fixed.wat &&
wat2wasm -o target/$PROJNAME.wasm target/$PROJNAME-fixed.wat &&
Expand Down
2 changes: 1 addition & 1 deletion examples/core/erc20/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ PROJNAME=erc20
cargo clean
rm Cargo.lock

CARGO_INCREMENTAL=0 cargo +nightly build --release --target=wasm32-unknown-unknown --verbose
CARGO_INCREMENTAL=0 cargo build --release --target=wasm32-unknown-unknown --verbose
wasm2wat -o target/$PROJNAME.wat target/wasm32-unknown-unknown/release/$PROJNAME.wasm
cat target/$PROJNAME.wat | sed "s/(import \"env\" \"memory\" (memory (;0;) 2))/(import \"env\" \"memory\" (memory (;0;) 2 16))/" > target/$PROJNAME-fixed.wat
wat2wasm -o target/$PROJNAME.wasm target/$PROJNAME-fixed.wat
Expand Down
2 changes: 1 addition & 1 deletion examples/core/incrementer/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
PROJNAME=incrementer
#cargo clean
#rm Cargo.lock
CARGO_INCREMENTAL=0 cargo +nightly build --release --target=wasm32-unknown-unknown --verbose
CARGO_INCREMENTAL=0 cargo build --release --target=wasm32-unknown-unknown --verbose
wasm2wat -o target/$PROJNAME.wat target/wasm32-unknown-unknown/release/$PROJNAME.wasm
cat target/$PROJNAME.wat | sed "s/(import \"env\" \"memory\" (memory (;0;) 2))/(import \"env\" \"memory\" (memory (;0;) 2 16))/" > target/$PROJNAME-fixed.wat
wat2wasm -o target/$PROJNAME.wasm target/$PROJNAME-fixed.wat
Expand Down
2 changes: 1 addition & 1 deletion examples/core/noop/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
PROJNAME=noop
#cargo clean
#rm Cargo.lock
CARGO_INCREMENTAL=0 cargo +nightly build --release --target=wasm32-unknown-unknown --verbose
CARGO_INCREMENTAL=0 cargo build --release --target=wasm32-unknown-unknown --verbose
wasm2wat -o target/$PROJNAME.wat target/wasm32-unknown-unknown/release/$PROJNAME.wasm
cat target/$PROJNAME.wat | sed "s/(import \"env\" \"memory\" (memory (;0;) 2))/(import \"env\" \"memory\" (memory (;0;) 2 16))/" > target/$PROJNAME-fixed.wat
wat2wasm -o target/$PROJNAME.wasm target/$PROJNAME-fixed.wat
Expand Down
2 changes: 1 addition & 1 deletion examples/core/subpeep/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
PROJNAME=subpeep
#cargo clean
#rm Cargo.lock
CARGO_INCREMENTAL=0 cargo +nightly build --release --target=wasm32-unknown-unknown --verbose
CARGO_INCREMENTAL=0 cargo build --release --target=wasm32-unknown-unknown --verbose
wasm2wat -o target/$PROJNAME.wat target/wasm32-unknown-unknown/release/$PROJNAME.wasm
cat target/$PROJNAME.wat | sed "s/(import \"env\" \"memory\" (memory (;0;) 2))/(import \"env\" \"memory\" (memory (;0;) 2 16))/" > target/$PROJNAME-fixed.wat
wat2wasm -o target/$PROJNAME.wasm target/$PROJNAME-fixed.wat
Expand Down
2 changes: 1 addition & 1 deletion examples/lang/erc20/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ PROJNAME=erc20
cargo clean
rm Cargo.lock

CARGO_INCREMENTAL=0 cargo +nightly build --release --target=wasm32-unknown-unknown --verbose
CARGO_INCREMENTAL=0 cargo build --release --target=wasm32-unknown-unknown --verbose
wasm2wat -o target/$PROJNAME.wat target/wasm32-unknown-unknown/release/$PROJNAME.wasm
cat target/$PROJNAME.wat | sed "s/(import \"env\" \"memory\" (memory (;0;) 2))/(import \"env\" \"memory\" (memory (;0;) 2 16))/" > target/$PROJNAME-fixed.wat
wat2wasm -o target/$PROJNAME.wasm target/$PROJNAME-fixed.wat
Expand Down
2 changes: 1 addition & 1 deletion examples/model/erc20/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
PROJNAME=erc20
#cargo clean
#rm Cargo.lock
CARGO_INCREMENTAL=0 cargo +nightly build --release --target=wasm32-unknown-unknown --verbose
CARGO_INCREMENTAL=0 cargo build --release --target=wasm32-unknown-unknown --verbose
wasm2wat -o target/$PROJNAME.wat target/wasm32-unknown-unknown/release/$PROJNAME.wasm
cat target/$PROJNAME.wat | sed "s/(import \"env\" \"memory\" (memory (;0;) 2))/(import \"env\" \"memory\" (memory (;0;) 2 16))/" > target/$PROJNAME-fixed.wat
wat2wasm -o target/$PROJNAME.wasm target/$PROJNAME-fixed.wat
Expand Down
2 changes: 1 addition & 1 deletion examples/model/incrementer/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
PROJNAME=incrementer
#cargo clean
#rm Cargo.lock
CARGO_INCREMENTAL=0 cargo +nightly build --release --target=wasm32-unknown-unknown --verbose
CARGO_INCREMENTAL=0 cargo build --release --target=wasm32-unknown-unknown --verbose
wasm2wat -o target/$PROJNAME.wat target/wasm32-unknown-unknown/release/$PROJNAME.wasm
cat target/$PROJNAME.wat | sed "s/(import \"env\" \"memory\" (memory (;0;) 2))/(import \"env\" \"memory\" (memory (;0;) 2 16))/" > target/$PROJNAME-fixed.wat
wat2wasm -o target/$PROJNAME.wasm target/$PROJNAME-fixed.wat
Expand Down

0 comments on commit fd5b1b8

Please sign in to comment.