rust3ds / ctru-rs

Rust wrapper for libctru
https://rust3ds.github.io/ctru-rs/
Other
117 stars 17 forks source link

Compile error if romfs is enabled but missing #108

Closed ian-h-chamberlain closed 1 year ago

ian-h-chamberlain commented 1 year ago

at some point we might consider adding something like

} else if #[cfg(all(feature = "romfs", not(romfs_exists)))] {
    compile_error!("romfs feature is enabled but no romfs found!");
}

haven't tested to see if that does what I think though

_Originally posted by @ian-h-chamberlain in https://github.com/rust3ds/ctru-rs/pull/107#discussion_r1154897602_