From 8334221f521b76a34abc3c896ac0e95eee8f2d3d Mon Sep 17 00:00:00 2001
From: Andrea Ciliberti <meziu210@icloud.com>
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!");
         }
     }
 }