dynamic-loader-cache 0.2.3

Reader of the dynamic loader shared libraries cache
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
fn print_cache(cache: &crate::Cache) {
    eprintln!();
    for e in cache.iter().unwrap() {
        let e = e.unwrap();
        eprintln!(
            "    {} => {}",
            e.file_name.to_string_lossy(),
            e.full_path.display()
        );
    }
}

#[test]
fn test1() {
    let cache = crate::Cache::load().unwrap();
    print_cache(&cache);
}