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

Servo can't use 1/5 Rust nightly with Cargo (unknown crate type: proc-macro) #3502

Closed
jdm opened this issue Jan 5, 2017 · 2 comments
Closed

Comments

@jdm
Copy link

jdm commented Jan 5, 2017

Using 508d66b, building Servo with the 1/5 Rust nightly yields:

cargo build -v --features debugmozjs
error: failed to run `rustc` to learn about target-specific information

Caused by:
  process didn't exit successfully: `rustc - --crate-name ___ --print=file-names -W unused-extern-crates --crate-type bin --crate-type dylib --crate-type proc-macro --crate-type rlib --target x86_64-apple-darwin` (exit code: 101)

--- stderr
error: unknown crate type: `proc-macro`

The 12/29 Rust nightly works fine, but it's not clear to me whether rustc or Cargo is causing the problem.

@jdm jdm changed the title Servo can't use 1/5 Rust nightly with Cargo Servo can't use 1/5 Rust nightly with Cargo (unknown crate type: proc-macro) Jan 5, 2017
@alexcrichton
Copy link
Member

Was Cargo accidentally paired with an older compiler? The error message:

error: unknown crate type: `proc-macro`

doesn't seem to make much sense here...

@jdm
Copy link
Author

jdm commented Jan 5, 2017

Lol, I used 2016-01-05. Carry on.

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