|
1 | 1 | # Use MOLD linker where possible, but ONLY in CI applicable targets. |
2 | | -# cspell: words rustflags armv gnueabihf msvc nextest idents rustdocflags |
3 | | -# cspell: words rustdoc lintfix lintrestrict testfast testdocs codegen testci |
| 2 | +# cspell: words rustflags armv gnueabihf msvc nextest idents rustdocflags |
| 3 | +# cspell: words rustdoc lintfix lintrestrict testfast testdocs codegen testci testunit |
4 | 4 | # cspell: words fmtchk fmtfix |
5 | 5 |
|
6 | 6 | # Configure how Docker container targets build. |
7 | 7 |
|
8 | 8 | # If you want to customize these targets for a local build, then customize them in you: |
9 | | -# $CARGO_HOME/config.toml |
| 9 | +# $CARGO_HOME/config.toml |
10 | 10 | # NOT in the project itself. |
11 | 11 | # These targets are ONLY the targets used by CI and inside docker builds. |
12 | 12 |
|
@@ -108,14 +108,15 @@ incremental = false |
108 | 108 | codegen-units = 16 |
109 | 109 |
|
110 | 110 | [alias] |
111 | | -lint = "clippy -- -D warnings -D clippy::pedantic -D clippy::unwrap_used -D clippy::expect_used -D clippy::exit -D clippy::get_unwrap -D clippy::index_refutable_slice -D clippy::indexing_slicing -D clippy::match_on_vec_items -D clippy::match_wild_err_arm -D clippy::missing_panics_doc -D clippy::panic -D clippy::string_slice -D clippy::unchecked_duration_subtraction -D clippy::unreachable -D clippy::missing_docs_in_private_items" |
112 | | -lintfix = "clippy -- -D warnings -D clippy::pedantic -D clippy::unwrap_used -D clippy::expect_used -D clippy::exit -D clippy::get_unwrap -D clippy::index_refutable_slice -D clippy::indexing_slicing -D clippy::match_on_vec_items -D clippy::match_wild_err_arm -D clippy::missing_panics_doc -D clippy::panic -D clippy::string_slice -D clippy::unchecked_duration_subtraction -D clippy::unreachable" |
| 111 | +lint = "clippy --all-targets -- -D warnings -D clippy::pedantic -D clippy::unwrap_used -D clippy::expect_used -D clippy::exit -D clippy::get_unwrap -D clippy::index_refutable_slice -D clippy::indexing_slicing -D clippy::match_on_vec_items -D clippy::match_wild_err_arm -D clippy::missing_panics_doc -D clippy::panic -D clippy::string_slice -D clippy::unchecked_duration_subtraction -D clippy::unreachable -D clippy::missing_docs_in_private_items" |
| 112 | +lintfix = "clippy --all-targets --fix --allow-dirty -- -D warnings -D clippy::pedantic -D clippy::unwrap_used -D clippy::expect_used -D clippy::exit -D clippy::get_unwrap -D clippy::index_refutable_slice -D clippy::indexing_slicing -D clippy::match_on_vec_items -D clippy::match_wild_err_arm -D clippy::missing_panics_doc -D clippy::panic -D clippy::string_slice -D clippy::unchecked_duration_subtraction -D clippy::unreachable -D clippy::missing_docs_in_private_items" |
113 | 113 | lintrestrict = "clippy -- -D warnings -D clippy::pedantic -D clippy::restriction -D clippy::missing_docs_in_private_items" |
114 | 114 | lint-vscode = "clippy --workspace --message-format=json-diagnostic-rendered-ansi --all-targets -- -D warnings -D clippy::pedantic -D clippy::unwrap_used -D clippy::expect_used -D clippy::exit -D clippy::get_unwrap -D clippy::index_refutable_slice -D clippy::indexing_slicing -D clippy::match_on_vec_items -D clippy::match_wild_err_arm -D clippy::missing_panics_doc -D clippy::panic -D clippy::string_slice -D clippy::unchecked_duration_subtraction -D clippy::unreachable -D clippy::missing_docs_in_private_items" |
115 | 115 |
|
116 | 116 | docs = "doc --workspace -r --all-features --no-deps --bins --document-private-items --examples --locked" |
117 | 117 | # nightly docs build broken... when they are'nt we can enable these docs... --unit-graph --timings=html,json -Z unstable-options" |
118 | 118 | testfast = "nextest run --release --workspace --locked" |
| 119 | +testunit = "nextest run --release --bins --lib --workspace --locked -P ci" |
119 | 120 | testci = "nextest run --release --workspace --locked -P ci" |
120 | 121 | testdocs = "test --doc --release --workspace --locked" |
121 | 122 |
|
|
0 commit comments