mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
72abf370bb
Long ago, UI tests were divided into "compile" and "run" tests. Later, the compile tests were further subdivided into "check" and "build" tests, to speed up tests that don't need a full build. The same split was never applied to incremental test revisions, so the only way to perform a check build in incremental tests is (confusingly) to use a `cfail` revision and then specify `//@ check-fail` or `//@ check-pass`. This PR makes room for dedicated check-fail and check-pass revisions by renaming the existing `cfail` and `cpass` revisions to `bfail` and `bpass`, since they currently perform a full build.
18 lines
429 B
Rust
18 lines
429 B
Rust
//@ proc-macro: incremental_proc_macro_aux.rs
|
|
//@ revisions: bfail1 bfail2
|
|
//@ build-pass (FIXME(62277): could be check-pass?)
|
|
//@ ignore-backends: gcc
|
|
|
|
// This test makes sure that we still find the proc-macro registrar function
|
|
// when we compile proc-macros incrementally (see #47292).
|
|
|
|
#![crate_type = "rlib"]
|
|
|
|
#[macro_use]
|
|
extern crate incremental_proc_macro_aux;
|
|
|
|
#[derive(IncrementalMacro)]
|
|
pub struct Foo {
|
|
_x: u32
|
|
}
|