Skip to content

Build failure #7

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
tromey opened this issue Feb 20, 2021 · 2 comments
Closed

Build failure #7

tromey opened this issue Feb 20, 2021 · 2 comments

Comments

@tromey
Copy link

tromey commented Feb 20, 2021

I tried building this today but it failed.

   Compiling rustc_codegen_gcc v0.1.0 (/home/tromey/Rust/rustc_codegen_gcc)
error[E0463]: can't find crate for `rustc_ast`
  --> src/lib.rs:18:1
   |
18 | extern crate rustc_ast;
   | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate

error: aborting due to previous error

I'm not sure if this is something I did wrong or not.

@antoyo
Copy link
Contributor

antoyo commented Feb 20, 2021

You might need rustc-dev:

rustup component add rustc-dev

Edit: Err, that should be done automatically by the prepare.sh script.

How did you try to build it?

@tromey
Copy link
Author

tromey commented Feb 20, 2021

I must have forgotten prepare.sh because I re-ran it, and now it is building. Sorry about that! I really thought I had done that.

@tromey tromey closed this as completed Feb 20, 2021
GuillaumeGomez pushed a commit to GuillaumeGomez/rustc_codegen_gcc that referenced this issue Mar 25, 2024
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