fix: Fix target-data-layout fetching incorrectly passing 'rustc' to rustc
This commit is contained in:
@@ -237,7 +237,7 @@ impl Analysis {
|
||||
Ok(Vec::new()),
|
||||
false,
|
||||
CrateOrigin::CratesIo { repo: None, name: None },
|
||||
None,
|
||||
Err("Analysis::from_single_file has no target layout".into()),
|
||||
);
|
||||
change.change_file(file_id, Some(Arc::new(text)));
|
||||
change.set_crate_graph(crate_graph);
|
||||
|
||||
Reference in New Issue
Block a user