Pass cargo.target to rustc

This commit is contained in:
Christophe MASSOLIN
2020-05-05 18:15:13 +02:00
parent 0ab4340cdb
commit 14dde99627
3 changed files with 15 additions and 7 deletions

View File

@@ -149,7 +149,7 @@ pub(crate) fn load(
// FIXME: cfg options?
let default_cfg_options = {
let mut opts = get_rustc_cfg_options();
let mut opts = get_rustc_cfg_options(None);
opts.insert_atom("test".into());
opts.insert_atom("debug_assertion".into());
opts