-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Can't link to rustc_driver with latest nightly #72564
Comments
Presumably expected breakage due to #72000? |
That implicit dependency seems to be missing. |
Looks like it was dropped #72000 (comment) |
Yes, closing as expected breakage. If llvm-tools-preview doesn't work for you, we can reopen. The dependency is implicit, i.e. you need to manage it yourself, as rustup doesn't currently support dependencies. |
From a user's perspective what would that entail exactly? When creating a new project via: cargo new rustc_driver_test
cd rustc_driver_test
echo "nightly-2020-06-16\n" > ./rust-toolchain
printf "\
#![feature(rustc_private)]\n\
extern crate rustc_driver;\n\
fn main() {}\n\
" > ./src/main.rs
rustup component add rust-src rustc-dev llvm-tools-preview
cargo +nightly build … all I'm getting is this:
rustup run nightly rustc --version --verbose
|
You need to specify that you want to add it to the nightly toolchain: |
Thanks @bjorn3! Now it's kinda obvious. 🙈 |
I tried this code:
I expected to see this happen: Compiles fine.
Instead, this happened:
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: