☰
Debian Codegraph
@
1.12.1-2
1.12.1-1
1.12.0-3
1.12.0-2
1.11.1-3
1.11.1-2
/
/
test cases
/
rust
/
26 cargo system deps
/
subprojects
/
sub-1-rs
/
lib.rs
☽
☼
test cases/rust/26 cargo system deps/subprojects/sub-1-rs/lib.rs
code
plain
raw
Apache-2.0
2012-2021 The Meson development team
debian/copyright
1
extern "C" {
2
fn g_get_tmp_dir() -> *mut std::ffi::c_void;
3
}
4
5
#[cfg(system_deps_have_glib)]
6
#[cfg(not(system_deps_have_gobject))]
7
pub fn func() {
8
unsafe {
9
g_get_tmp_dir();
10
}
11
}
12
13
pub fn func1() {
14
func()
15
}