Migrate sess.opts.tests
uses to sess.is_test_crate()
This commit is contained in:
parent
28e19f19aa
commit
2c976765b8
6 changed files with 7 additions and 7 deletions
|
@ -2301,7 +2301,7 @@ fn add_native_libs_from_crate(
|
|||
|| (whole_archive == None
|
||||
&& bundle
|
||||
&& cnum == LOCAL_CRATE
|
||||
&& sess.opts.test);
|
||||
&& sess.is_test_crate());
|
||||
|
||||
if bundle && cnum != LOCAL_CRATE {
|
||||
if let Some(filename) = lib.filename {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue