diff options
| author | Ralf Jung <post@ralfj.de> | 2020-05-24 16:51:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-24 16:51:30 +0200 |
| commit | a75068ac377725655c124b38b34b0620a3049142 (patch) | |
| tree | f0717ade5a0796c5e2be01476bcd9578ad9d6ed4 /library/std/src/sys/unix/stack_overflow.rs | |
| parent | 95c45838f03a65312ef7e6ed3a7b6fd02a1ea105 (diff) | |
| parent | 7a121ad77f0c9b501d127e23af4c53b5a9fd85ee (diff) | |
| download | rust-a75068ac377725655c124b38b34b0620a3049142.tar.gz rust-a75068ac377725655c124b38b34b0620a3049142.zip | |
Rollup merge of #72527 - RalfJung:miri-clippy-test-args, r=Mark-Simulacrum
bootstrap: propagate test-args to miri and clippy test suites
For Miri I verified this works. For clippy, unfortunately it doesn't seem to work as a stage 0 tool:
```
./x.py --stage 0 test src/tools/clippy --test-args init
```
gives
```
Compiling clippy-mini-macro-test v0.2.0 (/home/r/src/rust/rustc.3/src/tools/clippy/mini-macro)
error[E0658]: procedural macros cannot be expanded to expressions
--> src/tools/clippy/mini-macro/src/lib.rs:11:5
|
11 | / quote!(
12 | | #[allow(unused)]
13 | | fn needless_take_by_value(s: String) {
14 | | println!("{}", s.len());
... |
24 | | }
25 | | )
| |_____^
|
= note: see issue #54727 <https://github.com/rust-lang/rust/issues/54727> for more information
= help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable
Compiling proc-macro2 v1.0.3
Compiling syn v1.0.11
error: aborting due to previous error
For more information about this error, try `rustc --explain E0658`.
error: could not compile `clippy-mini-macro-test`.
```
But propagating `--test-args` to the test suite seems to make sense regardless.
Cc @rust-lang/clippy
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
