diff --git a/src/dir_entry.rs b/src/dir_entry.rs index 3da9a7a..14fd1c2 100644 --- a/src/dir_entry.rs +++ b/src/dir_entry.rs @@ -105,6 +105,7 @@ impl DirFileEntryData { &self.name } + #[cfg(feature = "alloc")] fn lowercase_name(&self) -> String { let mut name_copy: [u8; 11] = self.name; if self.lowercase_basename() {