[PULL 02/38] rust: add --check-cfg test to rustc arguments

2025-01-17 Thread Paolo Bonzini
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

Re: [PULL 02/38] rust: add --check-cfg test to rustc arguments

2025-01-12 Thread Paolo Bonzini
On 1/10/25 22:31, Kevin Wolf wrote: Am 10.01.2025 um 19:45 hat Paolo Bonzini geschrieben: 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 par

Re: [PULL 02/38] rust: add --check-cfg test to rustc arguments

2025-01-10 Thread Kevin Wolf
Am 10.01.2025 um 19:45 hat Paolo Bonzini geschrieben: > 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

[PULL 02/38] rust: add --check-cfg test to rustc arguments

2025-01-10 Thread Paolo Bonzini
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