Skip to content

Commit 1918a8a

Browse files
committed
Specify num jobs in local cargo config
1 parent 260ed4a commit 1918a8a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.vscode/tasks.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{
55
"label": "rust: cargo test",
66
"type": "shell",
7-
"command": "cargo test --jobs 4",
7+
"command": "cargo nextest run",
88
"group": {
99
"kind": "build",
1010
// "isDefault": true
@@ -36,7 +36,7 @@
3636
{
3737
"label": "rust: cargo check",
3838
"type": "shell",
39-
"command": "cargo check --jobs 4",
39+
"command": "cargo check",
4040
"group": {
4141
"kind": "build",
4242
},

justfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export LOG_LEVEL := env_var_or_default("RUST_LOG", "info")
44
default: test
55

66
test:
7-
RUST_LOG={{LOG_LEVEL}} cargo test --jobs 4
7+
RUST_LOG={{LOG_LEVEL}} cargo nextest run
88

99
build:
1010
cargo build
@@ -14,4 +14,4 @@ run config="config.toml":
1414
RUST_LOG={{LOG_LEVEL}} cargo run -- --config={{config}}
1515

1616
check:
17-
cargo check --jobs 4
17+
cargo check

0 commit comments

Comments
 (0)