Use Option<&str> for target instead of Option<&String>

This commit is contained in:
Paul Daniel Faria 2020-06-08 12:10:23 -04:00
parent 9c35f135b9
commit dbceaf522b
2 changed files with 4 additions and 4 deletions

View file

@ -160,7 +160,7 @@ impl GlobalState {
};
for ws in workspaces.iter() {
crate_graph.extend(ws.to_crate_graph(
config.cargo.target.as_ref(),
config.cargo.target.as_deref(),
&extern_source_roots,
&proc_macro_client,
&mut load,