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

rustc-dev was split into several crates, we use rustc_session #218

Merged
merged 1 commit into from Apr 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/common.rs
Expand Up @@ -15,7 +15,7 @@ use std::fs::{read_dir, remove_file};
use std::str::FromStr;
use std::path::PathBuf;
#[cfg(feature = "rustc")]
use rustc;
use rustc_session;

use test::ColorConfig;
use runtest::dylib_env_var;
Expand Down Expand Up @@ -332,7 +332,7 @@ pub use self::config_tempdir::ConfigWithTemp;
impl Default for Config {
fn default() -> Config {
#[cfg(feature = "rustc")]
let platform = rustc::session::config::host_triple().to_string();
let platform = rustc_session::config::host_triple().to_string();

Config {
compile_lib_path: PathBuf::from(""),
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Expand Up @@ -16,7 +16,7 @@
#![deny(unused_imports)]

#[cfg(feature = "rustc")]
extern crate rustc;
extern crate rustc_session;

#[cfg(unix)]
extern crate libc;
Expand Down