]> git.lizzy.rs Git - rust.git/blob - src/test/run-make-fulldeps/interdependent-c-libraries/bar.rs
Rollup merge of #100897 - RalfJung:const-not-to-mutable, r=lcnr
[rust.git] / src / test / run-make-fulldeps / interdependent-c-libraries / bar.rs
1 #![crate_type = "rlib"]
2
3 extern crate foo;
4
5 #[link(name = "bar", kind = "static")]
6 extern "C" {
7     fn bar();
8 }
9
10 pub fn doit() {
11     unsafe {
12         bar();
13     }
14 }