mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
reuse fetching target data layout from rustc function
This commit is contained in:
parent
443bc7f193
commit
40cf8b45ac
5 changed files with 12 additions and 20 deletions
|
@ -6,7 +6,7 @@ use rustc_hash::FxHashMap;
|
|||
|
||||
use crate::{utf8_stdout, ManifestPath};
|
||||
|
||||
pub(super) fn get(
|
||||
pub fn get(
|
||||
cargo_toml: Option<&ManifestPath>,
|
||||
target: Option<&str>,
|
||||
extra_env: &FxHashMap<String, String>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue