On Fri, Jan 17, 2025 at 5:01 PM Alex Bennée wrote:
>
> Paolo Bonzini writes:
>
> > rustc will check that every reachable #[cfg] matches a list of
> > the expected config names and values. Recent versions of rustc are
> > also complaining about #[cfg(test)], even if it is basically a standard
> >
Paolo Bonzini writes:
> rustc will check that every reachable #[cfg] matches a list of
> the expected config names and values. Recent versions of rustc are
> also complaining about #[cfg(test)], even if it is basically a standard
> part of the language. So, always allow it.
Hmm this breaks the
Il mar 7 gen 2025, 16:54 Paolo Bonzini ha scritto:
> rustc will check that every reachable #[cfg] matches a list of
> the expected config names and values. Recent versions of rustc are
> also complaining about #[cfg(test)], even if it is basically a standard
> part of the language. So, always a
rustc will check that every reachable #[cfg] matches a list of
the expected config names and values. Recent versions of rustc are
also complaining about #[cfg(test)], even if it is basically a standard
part of the language. So, always allow it.
Signed-off-by: Paolo Bonzini
---
scripts/rust/rus