|
2 | 2 | ##make cargo-*
|
3 | 3 | cargo-help:### cargo-help
|
4 | 4 | @awk 'BEGIN {FS = ":.*?###"} /^[a-zA-Z_-]+:.*?###/ {printf "\033[36m%-15s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
|
5 |
| -cargo-build:### cargo build |
6 |
| -## make cargo-build q=true |
| 5 | + |
| 6 | +cargo-bt:cargo-build-tokio### cargo-bt |
| 7 | +cargo-build-tokio:### cargo-build-tokio |
| 8 | +## make cargo-build-tokio q=true |
| 9 | + @. $(HOME)/.cargo/env |
| 10 | + @RUST_BACKTRACE=all cargo b $(QUIET) --no-default-features --features tokio |
| 11 | + |
| 12 | +cargo-bas:cargo-build-async-std### cargo-bas |
| 13 | +cargo-build-async-std:### cargo-build-async-std |
| 14 | +## make cargo-build-async-std q=true |
7 | 15 | @. $(HOME)/.cargo/env
|
8 |
| - @RUST_BACKTRACE=all cargo b $(QUIET) --no-default-features |
| 16 | + @RUST_BACKTRACE=all cargo b $(QUIET) --no-default-features --features async-std |
| 17 | + |
9 | 18 | cargo-install:### cargo install --path .
|
10 | 19 | #@. $(HOME)/.cargo/env
|
11 | 20 | #@cargo install --path $(PWD)
|
12 | 21 | @cargo install --locked --path $(PWD)
|
13 |
| -cargo-br:cargo-build-release### cargo-br |
14 |
| -## make cargo-br q=true |
15 |
| -cargo-build-release:### cargo-build-release |
16 |
| -## make cargo-build-release q=true |
| 22 | + |
| 23 | +cargo-br-tokio:cargo-build-release-tokio### cargo-br-tokio |
| 24 | +## make cargo-br-tokio q=true |
| 25 | + |
| 26 | +cargo-build-release-tokio:### cargo-build-release-tokio |
| 27 | +## make cargo-build-release-tokio q=true |
17 | 28 | @. $(HOME)/.cargo/env
|
18 |
| - @cargo b $(QUIET) --profile=$(PROFILE) --no-default-features |
| 29 | + @cargo b $(QUIET) --profile=$(PROFILE) --no-default-features --features tokio |
| 30 | + |
| 31 | +cargo-br-async-std:cargo-build-release-async-std### cargo-br-async-std |
| 32 | +## make cargo-br-async-std q=true |
| 33 | + |
| 34 | +cargo-build-release-async-std:### cargo-build-release-async-std |
| 35 | +## make cargo-build-release-async-std q=true |
| 36 | + @. $(HOME)/.cargo/env |
| 37 | + @cargo b $(QUIET) --profile=$(PROFILE) --no-default-features --features async-std |
| 38 | + |
19 | 39 | cargo-check:### cargo-check
|
20 | 40 | ## cargo c
|
21 | 41 | @. $(HOME)/.cargo/env
|
22 | 42 | @cargo c
|
| 43 | + |
| 44 | +cargo-check-tokio:### cargo-check-tokio |
| 45 | +## cargo c --no-default-features --features tokio |
| 46 | + @. $(HOME)/.cargo/env |
23 | 47 | @cargo check --no-default-features --features tokio
|
| 48 | + |
| 49 | +cargo-check-async-std:### cargo-check-async-std |
| 50 | +## cargo c --no-default-features --features async-std |
| 51 | + @. $(HOME)/.cargo/env |
24 | 52 | @cargo check --no-default-features --features async-std
|
| 53 | + |
25 | 54 | cargo-bench:### cargo-bench
|
26 |
| -## cargo b |
27 |
| -## cargo build --release |
| 55 | +## cargo bench |
28 | 56 | @. $(HOME)/.cargo/env
|
29 | 57 | @cargo bench
|
30 |
| -cargo-t:cargo-test### cargo-t |
31 |
| -cargo-test:### cargo-test |
32 |
| -## cargo t |
33 |
| - @. $(HOME)/.cargo/env && cargo test #--no-default-features |
| 58 | + |
| 59 | +cargo-tt:cargo-test-tokio### cargo-tt |
| 60 | +cargo-test-tokio:### cargo-test-tokio |
| 61 | +## cargo tt |
| 62 | + @. $(HOME)/.cargo/env && cargo test --no-default-features --features tokio |
| 63 | + |
| 64 | +cargo-ts:cargo-test-async-std### cargo-ts |
| 65 | +cargo-test-async-std:### cargo-test-async-std |
| 66 | +## cargo ts |
| 67 | + @. $(HOME)/.cargo/env && cargo test --no-default-features --features async-std |
| 68 | + |
34 | 69 | cargo-jits:### cargo-jits
|
35 | 70 | ## cargo-jits
|
36 | 71 | @. $(HOME)/.cargo/env && $(MAKE) cargo-t-jit-tokio cargo-t-jit-as
|
| 72 | + |
37 | 73 | cargo-t-jit-tokio:cargo-test-js-interop-tokio### cargo-test-jit-tokio
|
38 | 74 | cargo-test-js-interop-tokio:
|
39 | 75 | @. $(HOME)/.cargo/env && cargo test --no-default-features --features js_interop_tests,tokio
|
| 76 | + |
40 | 77 | cargo-t-jit-as:cargo-test-js-interop-async-std### cargo-test-jit-as
|
41 | 78 | cargo-test-js-interop-async-std:
|
42 | 79 | @. $(HOME)/.cargo/env && cargo test --no-default-features --features js_interop_tests,async-std
|
43 |
| -cargo-test-benches:### cargo-test |
| 80 | + |
| 81 | +cargo-test-benches:### cargo-test-benches |
44 | 82 | cargo test --benches
|
| 83 | + |
45 | 84 | cargo-report:### cargo-report
|
46 | 85 | @. $(HOME)/.cargo/env && cargo report future-incompatibilities --id 1
|
| 86 | + |
47 | 87 | cargo-doc:### cargo-doc
|
48 | 88 | @. $(HOME)/.cargo/env && cargo doc --no-deps #--open
|
| 89 | + |
49 | 90 | cargo-b-wasm-tokio:
|
50 |
| - @. $(HOME)/.cargo/env && cargo clean && cargo build --target=wasm32-unknown-emscripten --no-default-features #--features wasm-bindgen,tokio |
| 91 | + @rustup target add wasm32-unknown-emscripten |
| 92 | + @. $(HOME)/.cargo/env && cargo clean && cargo build --target=wasm32-unknown-emscripten --no-default-features --features wasm-bindgen,tokio |
| 93 | + |
| 94 | +cargo-b-wasm-async-std: |
| 95 | + @rustup target add wasm32-unknown-emscripten |
| 96 | + @. $(HOME)/.cargo/env && cargo clean && cargo build --target=wasm32-unknown-emscripten --no-default-features --features wasm-bindgen,async-std |
| 97 | + |
| 98 | +node-examples-nodejs-run-js-node:### node-examples-nodejs-run-js-node |
| 99 | +## node-examples-nodejs-run-js-node |
| 100 | + node examples-nodejs/run.js node |
| 101 | +node-examples-nodejs-run-js-node-6102:### node-examples-nodejs-run-js-node-6102 |
| 102 | +## node-examples-nodejs-run-js-node-6102 |
| 103 | + node examples-nodejs/run.js node 6102 |
| 104 | +node-examples-nodejs-run-js-rust:### node-examples-nodejs-run-js-rust |
| 105 | +## node-examples-nodejs-run-js-rust |
| 106 | + node examples-nodejs/run.js rust |
| 107 | +node-examples-nodejs-run-js-rust-2106:### node-examples-nodejs-run-js-rust-2106 |
| 108 | +## node-examples-nodejs-run-js-rust-2106 |
| 109 | + node examples-nodejs/run.js rust 2106 |
51 | 110 |
|
52 | 111 | # vim: set noexpandtab:
|
53 | 112 | # vim: set setfiletype make
|
0 commit comments