mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-21 22:34:34 +00:00
compiletest: don't require --
to pass our specific flags. (#523)
* docs: removed outdated `cargo compiletest -- --clean` instructions. * compiletest: don't require `--` to pass our specific flags.
This commit is contained in:
parent
872e06257f
commit
b3c04e5951
@ -4,4 +4,4 @@
|
||||
rustflags = "-C prefer-dynamic"
|
||||
|
||||
[alias]
|
||||
compiletest = "run --release -p compiletests"
|
||||
compiletest = "run --release -p compiletests --"
|
||||
|
@ -21,19 +21,9 @@ You will occassionally need to "bless" the output from UI tests to update the
|
||||
normalised output, you can do this by passing a `--bless` flag to
|
||||
`cargo compiletest`.
|
||||
|
||||
``
|
||||
cargo compiletest -- --bless
|
||||
``
|
||||
|
||||
### Caching Tests
|
||||
|
||||
`cargo compiletest` by default caches the build output for dependencies of test
|
||||
cases such as `spirv-std` and `glam`. If you need to compile from a fresh source
|
||||
you can pass the `--clean` flag to build from scratch.
|
||||
|
||||
``
|
||||
cargo compiletest -- --clean
|
||||
``
|
||||
```bash
|
||||
cargo compiletest --bless
|
||||
```
|
||||
|
||||
[`compiletest`]: https://github.com/laumann/compiletest-rs
|
||||
[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/tests/intro.html
|
||||
|
Loading…
Reference in New Issue
Block a user