mirror of
https://github.com/openharmony/third_party_rust_bitflags.git
synced 2026-07-18 17:45:34 -04:00
0735d74d62
Signed-off-by: ljy9810 <longjianyin@h-partners.com>
10 lines
385 B
Markdown
10 lines
385 B
Markdown
# 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.
|