Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/project-model/src/toolchain_info.rs')
| -rw-r--r-- | crates/project-model/src/toolchain_info.rs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/crates/project-model/src/toolchain_info.rs b/crates/project-model/src/toolchain_info.rs deleted file mode 100644 index 6c8152262c..0000000000 --- a/crates/project-model/src/toolchain_info.rs +++ /dev/null @@ -1,16 +0,0 @@ -pub mod rustc_cfg; -pub mod target_data_layout; -pub mod target_triple; - -use std::path::Path; - -use crate::{ManifestPath, Sysroot}; - -#[derive(Copy, Clone)] -pub enum QueryConfig<'a> { - /// Directly invoke `rustc` to query the desired information. - Rustc(&'a Sysroot, &'a Path), - /// Attempt to use cargo to query the desired information, honoring cargo configurations. - /// If this fails, falls back to invoking `rustc` directly. - Cargo(&'a Sysroot, &'a ManifestPath), -} |