INNER CODE UNIT · Rust

extract_libgenomicsqlite

mlin/GenomicSQLite · bindings/rust/src/lib.rs:44

fn extract_libgenomicsqlite(bytes: &[u8], filename: &str) -> (String, TempDir) {
    match extract_libgenomicsqlite_impl(bytes, filename) {
        Ok(ans) => ans,
        Err(_) => panic!("genomicsqlite: failed extracting temp libgenomicsqlite; check temp free space & permissions")
    }
}

#[cfg(not(feature = "bundle_libgenomicsqlite"))]
fn bundle_libgenomicsqlite() -> Option<(String, TempDir)> {
    None
}

#[cfg(all(
    feature = "bundle_libgenomicsqlite",
    target_os = "linux",
    target_arch = "x86_64"
))]
fn bundle_libgenomicsqlite() -> Option<(String, TempDir)> {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…