Sign in
fuchsia
/
third_party
/
github.com
/
bazelbuild
/
rules_rust
/
16175c881cc1070c13a57c8db9d73ca2cab39acb
/
.
/
examples
/
shared_libs
/
rust_shared_lib_with_static_dep.rs
blob: bbeb52ca7c8c1afd8a651b457660745f21712aa9 [
file
] [
log
] [
blame
]
use
std
::
os
::
raw
::
c_int
;
extern
"C"
{
pub
fn
func
()
->
c_int
;
}
pub
fn
f
()
{
println
!(
"hi {}"
,
unsafe
{
func
()
});
}