Support Display name in project.json

This commit is contained in:
Aleksey Kladov 2020-10-20 17:13:15 +02:00
parent 3b1a648539
commit f753c3ecd2
3 changed files with 10 additions and 3 deletions

View file

@ -335,8 +335,7 @@ impl ProjectWorkspace {
crate_graph.add_crate_root(
file_id,
krate.edition,
// FIXME json definitions can store the crate name
None,
krate.display_name.clone(),
cfg_options,
env,
proc_macro.unwrap_or_default(),