New features should go through the RFC process before creating a Pull Request to this repository.
Report bugs by creating an issue in this repository.
Please make pull requests against the master branch.
Always use rebase instead of merge when bringing in changes from master to your feature branch.
Documentation improvements are always welcome.
The source for the book is in book/
and API documentation is generated from the source code.
Continuous Integration (CI) tests are run against all pull requests.
Please make sure that tests passes locally before submitting.
> cargo fmt
> cargo xtask example-check
> cargo xtask qemu
Will execute examples on your local qemu
install.
If you have added further tests, you need to add the expected output in the ci/expected
folder.
> cargo xtask qemu --overwrite-expected
Run internal fail tests locally with:
> cargo xtask test
If you have added fail tests or changed the expected behavior, the expected output needs to be updated (corresponding .stderr
files).
Inspect the error output, when sure that ACTUAL OUTPUT
is correct you can re-run the test as:
> TRYBUILD=overwrite cargo xtask test
This will update the expected output to match the ACTUAL OUTPUT
.
Please check that the updated files are indeed correct to avoid regressions.