Skip to content

don't want to build a dot file and dot underscore file of examples directory #1615

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

Closed
nacika-ins opened this issue May 16, 2015 · 0 comments · Fixed by #1625
Closed

don't want to build a dot file and dot underscore file of examples directory #1615

nacika-ins opened this issue May 16, 2015 · 0 comments · Fixed by #1625

Comments

@nacika-ins
Copy link

I 've created a rs file to example directory using the samba from mac.
At that time, dot underscore file has been created.

I error has occurred when you run the cargo test.

$ cargo test
   Compiling kagurazaka v0.1.0 (file:///home/nacika/ws/kagurazaka)
error: "examples/._minus.rs" is not UTF-8 encoded
Could not compile `kagurazaka`.

This problem also occurs to specify the exclude to Cargo.toml.

alexcrichton added a commit to alexcrichton/cargo that referenced this issue May 18, 2015
Whenever Cargo infers various targets for a project it currently picks up all
files in associated folders, but dotfiles are a common example of files which
editors generate which Cargo should not pick up, so this commit ignores all
dotfiles in the folders that it is looking at.

Closes rust-lang#1615
bors added a commit that referenced this issue May 19, 2015
Whenever Cargo infers various targets for a project it currently picks up all
files in associated folders, but dotfiles are a common example of files which
editors generate which Cargo should not pick up, so this commit ignores all
dotfiles in the folders that it is looking at.

Closes #1615
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant