Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
run-make
/
native-link-modifier-whole-archive
/
native_lib_in_src.rs
blob: 971f3be7a61e99b06a1a3670d6633fc7c03b1bd9 [
file
] [
log
] [
blame
]
use
std
::
io
::
Write
;
#[
link
(
name
=
"c_static_lib_with_constructor"
,
kind
=
"static"
,
modifiers
=
"-bundle,+whole-archive"
)]
extern
{}
pub
fn
hello
()
{
print
!(
"native_lib_in_src."
);
std
::
io
::
stdout
().
flush
().
unwrap
();
}