Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upTweak how hyphens in crate names are allowed #23533
Comments
alexcrichton
added
P-backcompat-lang
B-RFC-approved
labels
Mar 19, 2015
alexcrichton
added this to the 1.0 beta milestone
Mar 19, 2015
rust-highfive
removed
the
P-backcompat-lang
label
Mar 19, 2015
This comment has been minimized.
This comment has been minimized.
|
Er, tracking issue for rust-lang/rfcs#940 |
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Mar 20, 2015
alexcrichton
referenced this issue
Mar 20, 2015
Merged
rustc: Add support for `extern crate foo as bar` #23546
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Mar 20, 2015
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Mar 20, 2015
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Mar 20, 2015
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Mar 20, 2015
bors
added a commit
that referenced
this issue
Mar 24, 2015
alexcrichton
self-assigned this
Mar 24, 2015
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Mar 24, 2015
bors
added a commit
that referenced
this issue
Mar 24, 2015
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Mar 24, 2015
This comment has been minimized.
This comment has been minimized.
jnicholls
commented
Mar 27, 2015
Based on the latest rustc, this is not working. It is still looking for a target named "foo-bar" when it should be looking for "foo_bar". By changing that line to |
This comment has been minimized.
This comment has been minimized.
|
Yeah I think I unfortunately botched that part of this :(, sorry about that! |
alexcrichton
referenced this issue
Mar 27, 2015
Merged
rustc: Remove support for hyphens in crate names #23786
bors
closed this
in
#23786
Mar 28, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
alexcrichton commentedMar 19, 2015
extern crate, require an identifier to be used instead - #23546foo-barandfoo_barto crates.io change-to_in Cargo for passing the--externflag - rust-lang/cargo#1443As an interim step, the compiler should continue to accept
extern crate "foo-bar" as ...both in terms of quotes and in terms of matching the identifierfoo_baras well. This should help reduce the breakage a little.triage: P-backcompat-lang (1.0 beta)