-
Notifications
You must be signed in to change notification settings - Fork 220
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: ability to compile on stable rust (#3759)
Description --- - **keeps** the nightly tool chain, necessary for our cargo fmt settings and avx2, wasm features - but adds ability to compile with default features on stable and CI to check that Closes #3035
- Loading branch information
Byron Hambly
authored
Feb 2, 2022
1 parent
96a1e4e
commit c19db92
Showing
9 changed files
with
75 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,17 @@ | ||
.PHONY: test | ||
toolchain=nightly-2021-11-20 | ||
|
||
.phony: test | ||
test: | ||
wasm-pack test --node --features js | ||
|
||
.PHONY: build | ||
rustup run $(toolchain) wasm-pack test --node --features wasm | ||
|
||
.phony: build | ||
build: | ||
wasm-pack build --target bundler . -- --features js | ||
|
||
.PHONY: install | ||
rustup run $(toolchain) wasm-pack build --target bundler . -- --features wasm | ||
|
||
.phony: install | ||
install: | ||
wasm-pack build --out-dir=../../applications/tari_web_extension/src/key_manager/ --target bundler . -- --features js | ||
|
||
.PHONY: web | ||
rustup run $(toolchain) wasm-pack build --out-dir=../../applications/tari_web_extension/src/key_manager/ --target bundler . -- --features wasm | ||
|
||
.phony: web | ||
web: | ||
wasm-pack build --target web . -- --features js | ||
rustup run $(toolchain) wasm-pack build --target web . -- --features wasm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters