]>
Commit | Line | Data |
---|---|---|
dfeec247 | 1 | // build-fail |
532ac7d7 | 2 | // aux-build:rmeta-meta.rs |
32a655c1 | 3 | // no-prefer-dynamic |
ea8adc8c | 4 | // error-pattern: crate `rmeta_meta` required to be available in rlib format, but was not found |
1a4d82fc | 5 | |
32a655c1 SL |
6 | // Check that building a non-metadata crate fails if a dependent crate is |
7 | // metadata-only. | |
223e47cc | 8 | |
32a655c1 SL |
9 | extern crate rmeta_meta; |
10 | use rmeta_meta::Foo; | |
223e47cc LB |
11 | |
12 | fn main() { | |
32a655c1 | 13 | let _ = Foo { field: 42 }; |
223e47cc | 14 | } |