Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
86e0ff47a0d1afcbe9f0c8cdb54f60bb18da20df
/
.
/
src
/
test
/
run-make-fulldeps
/
lto-no-link-whole-rlib
/
lib2.rs
blob: 2dec2a2718e83a197c6656c1aed89f752ee1dfe3 [
file
] [
log
] [
blame
]
#![
crate_type
=
"rlib"
]
extern
crate lib1
;
#[
link
(
name
=
"bar"
,
kind
=
"static"
)]
extern
"C"
{
fn
foo
()
->
i32
;
}
pub
fn
foo2
()
->
i32
{
unsafe
{
foo
()
}
}