From a2a990b715c7b1bd715b2f85abd22ae614d4c741 Mon Sep 17 00:00:00 2001 From: Andrea Ciliberti Date: Sat, 8 Apr 2023 14:17:08 +0200 Subject: [PATCH] Compilation error when romfs can't be found --- ctru-rs/src/services/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ctru-rs/src/services/mod.rs b/ctru-rs/src/services/mod.rs index 6b9e115..ec554cb 100644 --- a/ctru-rs/src/services/mod.rs +++ b/ctru-rs/src/services/mod.rs @@ -34,6 +34,8 @@ cfg_if::cfg_if! { //! [package.metadata.cargo-3ds] //! romfs_dir = "romfs" //! ``` + + compile_error!("romfs feature is enabled but no romfs found!"); } } }