From 21b51af6d5e6a0eb5b0081dbb42ff4841bb667e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Harabie=C5=84?= Date: Mon, 4 Jun 2018 22:41:38 +0200 Subject: [PATCH] Fix nostd build --- src/dir_entry.rs | 1 + 1 file changed, 1 insertion(+) 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() {