diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2022-11-01 00:03:36 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-01 00:03:36 +0000 |
commit | a8e550e843aeb085cefb911b1c91139c884ded4f (patch) | |
tree | d3c5397d01b43c91cc61419fafaa591de4054927 /doc | |
parent | 85d6819fff29b97cb0c4e6a88517456c8688e11f (diff) | |
parent | facfd565093c8f410be840dc427975a6d7368f91 (diff) |
Merge staging-next into staging
Diffstat (limited to 'doc')
-rw-r--r-- | doc/languages-frameworks/rust.section.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/languages-frameworks/rust.section.md b/doc/languages-frameworks/rust.section.md index 0d4d5a1e83e1b..849c836b03fc0 100644 --- a/doc/languages-frameworks/rust.section.md +++ b/doc/languages-frameworks/rust.section.md @@ -319,6 +319,18 @@ The above are just guidelines, and exceptions may be granted on a case-by-case b However, please check if it's possible to disable a problematic subset of the test suite and leave a comment explaining your reasoning. +This can be achived with `--skip` in `checkFlags`: + +```nix +rustPlatform.buildRustPackage { + /* ... */ + checkFlags = [ + # reason for disabling test + "--skip=example::tests:example_test" + ]; +} +``` + #### Setting `test-threads` {#setting-test-threads} `buildRustPackage` will use parallel test threads by default, |