Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
run-make
/
c-static-dylib
/
foo.rs
blob: 1e8af4d44040b293cdef26346344bc960703329c [
file
] [
log
] [
blame
] [
edit
]
#![
crate_type
=
"dylib"
]
#[
link
(
name
=
"cfoo"
,
kind
=
"static"
)]
extern
"C"
{
fn
foo
();
}
pub
fn
rsfoo
()
{
unsafe
{
foo
()
}
}