Sign in
chromium
/
external
/
github.com
/
rust-lang
/
rust
/
433da1fc047bb39a263eefca4bdb2b1972f1d2ce
/
.
/
tests
/
run-make
/
link-cfg
/
dep-with-staticlib.rs
blob: 5ad66475d003ff3aab72a63392daf5d8e84fb81a [
file
] [
log
] [
blame
]
#![
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
;
}