Skip to content
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

Allow colons in project directory name #39972

Closed
minijackson opened this issue Feb 20, 2017 · 2 comments
Closed

Allow colons in project directory name #39972

minijackson opened this issue Feb 20, 2017 · 2 comments

Comments

@minijackson
Copy link

Steps to reproduce:

  • cargo new bla
  • mv bla "bla:"
  • cd "bla:"
  • cargo test --verbose

Error:

error: failed to join search paths together: path segment contains separator `:`
Does $LD_LIBRARY_PATH have an unterminated quote character?

Caused by:
  failed to join path array: ["/tmp/bla:/target/debug/deps", "/home/minijackson/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib"]

As LD_LIBRARY_PATH is a Unix thingy, I don't know if it is reproducible in Windows ;-)

Meta:

rustc 1.17.0-nightly (0e7727795 2017-02-19)
binary: rustc
commit-hash: 0e77277950aafd38ce3e52b7b1cd9bcc6664de3c
commit-date: 2017-02-19
host: x86_64-unknown-linux-gnu
release: 1.17.0-nightly
LLVM version: 3.9
@steveklabnik
Copy link
Member

steveklabnik commented Feb 20, 2017

$ mkdir loL:
$ cd loL\:/
$ vim foo.rs # implement hello world
$ rustc foo.rs
$ ./foo
hello world

This looks like a bug in Cargo, not a bug in rustc. Would you mind refiling against https://github.com/rust-lang/cargo/ ? Thanks!

@minijackson
Copy link
Author

Sure thing. For reference: rust-lang/cargo#3736

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

No branches or pull requests

2 participants