Skip to content

Commit b9460e0

Browse files
committed
Merge pull request #10 from tomaka/rebuild-whitespace
Add files with a whitespace to dependencies again
2 parents 84449a7 + a943285 commit b9460e0

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/lib.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,7 @@ fn macro_handler(ecx: &mut ExtCtxt, span: Span, token_tree: &[TokenTree])
135135

136136
// adding a compilation dependency to the file, so that a recompilation will be
137137
// triggered if the file is modified
138-
// note that we don't do it if the file contains a white space
139-
// (see https://github.com/rust-lang/cargo/issues/648)
140-
if !path.as_str().unwrap().contains(" ") {
141-
ecx.codemap().new_filemap(path.as_str().unwrap().to_string(), "".to_string());
142-
}
138+
ecx.codemap().new_filemap(path.as_str().unwrap().to_string(), "".to_string());
143139

144140
// getting the content of the file as an include_bin! expression
145141
let content = {

0 commit comments

Comments
 (0)