rust/tests/ui/imports/simple-rlib-import.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
294 B
Rust
Raw Normal View History

2024-05-27 20:19:58 -05:00
// A simple test, where foo.rs has a dependency
// on the rlib (a static Rust-specific library format) bar.rs. If the test passes,
// rlibs can be built and linked into another file successfully..
//@ aux-crate:bar=simple-rlib.rs
//@ run-pass
extern crate bar;
fn main() {
bar::bar();
}