mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2025-02-16 17:04:16 +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"
|
rustflags = "-C prefer-dynamic"
|
||||||
|
|
||||||
[alias]
|
[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
|
normalised output, you can do this by passing a `--bless` flag to
|
||||||
`cargo compiletest`.
|
`cargo compiletest`.
|
||||||
|
|
||||||
``
|
```bash
|
||||||
cargo compiletest -- --bless
|
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
|
|
||||||
``
|
|
||||||
|
|
||||||
[`compiletest`]: https://github.com/laumann/compiletest-rs
|
[`compiletest`]: https://github.com/laumann/compiletest-rs
|
||||||
[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/tests/intro.html
|
[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/tests/intro.html
|
||||||
|
Loading…
Reference in New Issue
Block a user