Skip to content

Adding useful commands to documentation #3991

Open
@tiif

Description

@tiif

I used the commands below when enabling more tests in Tokio. We can consider adding these commands to README as they could be useful to others as well.

  1. To run the entire test suite without terminating on unsupported FFI error, cargo miri nextest run -- no-fail-fast can be used.
  2. If the unsupported FFI errors occur in docs test, adding# if cfg!(miri) { return } will allow Miri to skip the test while still executing it normally with cargo test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: affects documentationC-enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions