blob: cbbdd78dc204b31270265f01e7b9f97ee0a2d109 [file] [log] [blame]
// Test that using rlibs and rmeta dep crates work together. Specifically, that
// there can be both an rmeta and an rlib file and rustc will prefer the rlib.
// aux-build:rmeta-rmeta.rs
// aux-build:rmeta-rlib.rs
extern crate rmeta_aux;
use rmeta_aux::Foo;
pub fn main() {
let _ = Foo { field: 42 };
}