Skip to content

Commit

Permalink
rustc_dev was split into several crates, we use rustc_session
Browse files Browse the repository at this point in the history
  • Loading branch information
Munksgaard committed Apr 10, 2020
1 parent fcbbefe commit 4d129a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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

0 comments on commit 4d129a6

Please sign in to comment.