#![cfg_attr(not(test), no_std)] doesn't work when building multiple crate-types #48665
Labels
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
That is an error that is expected with
no_std
, but the code is supposed to be essentially empty in thetest
configuration.It works when
crate-type
contains only one value (either one).The text was updated successfully, but these errors were encountered: