From 64bc26310010cec5e32418dbfcac4dc142a9f4ff Mon Sep 17 00:00:00 2001 From: KodrAus Date: Wed, 20 Apr 2022 18:03:25 +1000 Subject: [PATCH] stub out a contributing doc --- CONTRIBUTING.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 00000000..58833639 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,9 @@ +# Updating compile-fail test outputs + +`bitflags` uses the `trybuild` crate to integration test its macros. Since Rust error messages change frequently enough that `nightly` builds produce spurious failures, we only check the compiler output in `beta` builds. If you run: + +``` +TRYBUILD=overwrite cargo +beta test --all +``` + +it will run the tests and update the `trybuild` output files.