-
Notifications
You must be signed in to change notification settings - Fork 2.6k
File names with spaces causes the project to be recompiled every time #648
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I had a feeling this would come up eventually! This is currently a problem with To see what I'm talking about: #[path = "foo foo.rs"]
mod foo;
Now, that being said, cargo itself only splits these dependencies on spaces, so it would also need to be updated! |
That's a shitty solution, but maybe Cargo could try to concat the paths? |
This means that if a project has a file with a space in the name it will properly have its freshness calculated as opposed to always having it as a candidate to be rebuilt. Closes rust-lang#648
This means that if a project has a file with a space in the name it will properly have its freshness calculated as opposed to always having it as a candidate to be rebuilt. Closes #648
If you have a code that looks like this:
The value
src/test test.rs
will be added to the dependencies, but will be interpreted as two elements:src/test
andtest.rs
, causingcargo build
to recompile the library/binary every time.The text was updated successfully, but these errors were encountered: