remove println

main
Floris Bruynooghe 2 years ago
parent 8e8ebb974d
commit e649387dc0
No known key found for this signature in database
  1. 1
      src/interface/android.rs

@ -13,7 +13,6 @@ pub fn get_libc_ifaddrs() -> Option<(
fn load_symbol<T>(sym: &'static str) -> Option<T> { fn load_symbol<T>(sym: &'static str) -> Option<T> {
const LIB_NAME: &str = "libc.so"; const LIB_NAME: &str = "libc.so";
println!("loading symbol: {} from {}", sym, LIB_NAME);
match dlopen::raw::Library::open(LIB_NAME) { match dlopen::raw::Library::open(LIB_NAME) {
Ok(lib) => match unsafe { lib.symbol::<T>(sym) } { Ok(lib) => match unsafe { lib.symbol::<T>(sym) } {
Ok(val) => Some(val), Ok(val) => Some(val),

Loading…
Cancel
Save