@@ -43,14 +43,13 @@ _cargo()
43
43
local opt_mani=' --manifest-path'
44
44
local opt_jobs=' -j --jobs'
45
45
local opt_force=' -f --force'
46
- local opt_test=' --test --bench'
47
46
local opt_lock=' --frozen --locked'
48
47
local opt_targets=" --lib --bin --bins --example --examples --test --tests --bench --benches --all-targets"
49
48
50
49
local opt___nocmd=" $opt_common -V --version --list --explain"
51
- local opt__bench=" $opt_common $opt_pkg_spec $opt_feat $opt_mani $opt_lock $opt_jobs $opt_test $ opt_targets --message-format --target --no-run --no-fail-fast --target-dir"
52
- local opt__build=" $opt_common $opt_pkg_spec $opt_feat $opt_mani $opt_lock $opt_jobs $opt_test $ opt_targets --message-format --target --release --target-dir"
53
- local opt__check=" $opt_common $opt_pkg_spec $opt_feat $opt_mani $opt_lock $opt_jobs $opt_test $ opt_targets --message-format --target --release --profile --target-dir"
50
+ local opt__bench=" $opt_common $opt_pkg_spec $opt_feat $opt_mani $opt_lock $opt_jobs $opt_targets --message-format --target --no-run --no-fail-fast --target-dir"
51
+ local opt__build=" $opt_common $opt_pkg_spec $opt_feat $opt_mani $opt_lock $opt_jobs $opt_targets --message-format --target --release --target-dir"
52
+ local opt__check=" $opt_common $opt_pkg_spec $opt_feat $opt_mani $opt_lock $opt_jobs $opt_targets --message-format --target --release --profile --target-dir"
54
53
local opt__clean=" $opt_common $opt_pkg $opt_mani $opt_lock --target --release --doc --target-dir"
55
54
local opt__doc=" $opt_common $opt_pkg_spec $opt_feat $opt_mani $opt_lock $opt_jobs --message-format --bin --bins --lib --target --open --no-deps --release --document-private-items --target-dir"
56
55
local opt__fetch=" $opt_common $opt_mani $opt_lock "
@@ -70,10 +69,10 @@ _cargo()
70
69
local opt__publish=" $opt_common $opt_mani $opt_feat $opt_lock $opt_jobs --allow-dirty --dry-run --host --token --no-verify --index --registry --target --target-dir"
71
70
local opt__read_manifest=" $opt_help $opt_quiet $opt_verbose $opt_mani $opt_color "
72
71
local opt__run=" $opt_common $opt_pkg $opt_feat $opt_mani $opt_lock $opt_jobs --message-format --target --bin --example --release --target-dir"
73
- local opt__rustc=" $opt_common $opt_pkg $opt_feat $opt_mani $opt_lock $opt_jobs $opt_test $ opt_targets --message-format --profile --target --release --target-dir"
74
- local opt__rustdoc=" $opt_common $opt_pkg $opt_feat $opt_mani $opt_lock $opt_jobs $opt_test $ opt_targets --message-format --target --release --open --target-dir"
72
+ local opt__rustc=" $opt_common $opt_pkg $opt_feat $opt_mani $opt_lock $opt_jobs $opt_targets --message-format --profile --target --release --target-dir"
73
+ local opt__rustdoc=" $opt_common $opt_pkg $opt_feat $opt_mani $opt_lock $opt_jobs $opt_targets --message-format --target --release --open --target-dir"
75
74
local opt__search=" $opt_common $opt_lock --host --limit --index --limit --registry"
76
- local opt__test=" $opt_common $opt_pkg_spec $opt_feat $opt_mani $opt_lock $opt_jobs $opt_test $ opt_targets --message-format --doc --target --no-run --release --no-fail-fast --target-dir"
75
+ local opt__test=" $opt_common $opt_pkg_spec $opt_feat $opt_mani $opt_lock $opt_jobs $opt_targets --message-format --doc --target --no-run --release --no-fail-fast --target-dir"
77
76
local opt__uninstall=" $opt_common $opt_lock $opt_pkg_spec --bin --root"
78
77
local opt__update=" $opt_common $opt_pkg_spec $opt_mani $opt_lock --aggressive --precise --dry-run"
79
78
local opt__verify_project=" ${opt__fetch} "
0 commit comments