Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
run-make
/
link-cfg
/
dep-with-staticlib.rs
blob: 5ad66475d003ff3aab72a63392daf5d8e84fb81a [
file
] [
log
] [
blame
] [
edit
]
#![
feature
(
link_cfg
)]
#![
crate_type
=
"rlib"
]
#[
link
(
name
=
"return1"
,
cfg
(
foo
))]
#[
link
(
name
=
"return3"
,
kind
=
"static"
,
cfg
(
bar
))]
extern
"C"
{
pub
fn
my_function
()
->
i32
;
}