Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 1011 Bytes

File metadata and controls

33 lines (26 loc) · 1011 Bytes

Discuss first

If you have a idea, make sure it is discussed before you make a PR.

Fmt And Clippy

You can use just to help you fix your commit rapidly:

just fix

How Can I Rewrite My Commit Message?

You can git reset --soft upstream/main and git commit --forge, this will merge your changes into one commit.

Or you also can use git rebase. But we will still merge them into one commit when it is merged.

Check Code Coverage

If you are developing on vscode, you can use vscode plugin Coverage Gutters

And also need to install llvm-cov

cargo install cargo-llvm-cov

rustup component add llvm-tools-preview

If you are using coverage gutters plugin, add these config to let it know lcov output.

{
    "coverage-gutters.coverageFileNames": [
        "coverage.lcov",
    ],
    "coverage-gutters.coverageBaseDir": "target/llvm-cov-target",
}