Re: [PATCH] configure, meson: synchronize defaults for configure and Meson Rust options

2024-10-14 Thread Peter Maydell
On Mon, 14 Oct 2024 at 12:01, Paolo Bonzini wrote: > > If the defaults for --enable-rust ($rust in configure) and Meson's rust > option are out of sync, incremental builds will pick Meson's default. > > This happens because, on an incremental build, configure does not run > Meson, Make does instea

Re: [PATCH] configure, meson: synchronize defaults for configure and Meson Rust options

2024-10-14 Thread Peter Maydell
On Mon, 14 Oct 2024 at 13:09, Peter Maydell wrote: > > On Mon, 14 Oct 2024 at 12:45, Peter Maydell wrote: > > > > On Mon, 14 Oct 2024 at 12:01, Paolo Bonzini wrote: > > > > > > If the defaults for --enable-rust ($rust in configure) and Meson's rust > > > option are out of sync, incremental build

Re: [PATCH] configure, meson: synchronize defaults for configure and Meson Rust options

2024-10-14 Thread Peter Maydell
On Mon, 14 Oct 2024 at 13:09, Peter Maydell wrote: > > On Mon, 14 Oct 2024 at 12:45, Peter Maydell wrote: > > > > On Mon, 14 Oct 2024 at 12:01, Paolo Bonzini wrote: > > > > > > If the defaults for --enable-rust ($rust in configure) and Meson's rust > > > option are out of sync, incremental build

Re: [PATCH] configure, meson: synchronize defaults for configure and Meson Rust options

2024-10-14 Thread Peter Maydell
On Mon, 14 Oct 2024 at 12:45, Peter Maydell wrote: > > On Mon, 14 Oct 2024 at 12:01, Paolo Bonzini wrote: > > > > If the defaults for --enable-rust ($rust in configure) and Meson's rust > > option are out of sync, incremental builds will pick Meson's default. > > > > This happens because, on an i

Re: [PATCH] configure, meson: synchronize defaults for configure and Meson Rust options

2024-10-14 Thread Peter Maydell
On Mon, 14 Oct 2024 at 12:01, Paolo Bonzini wrote: > > If the defaults for --enable-rust ($rust in configure) and Meson's rust > option are out of sync, incremental builds will pick Meson's default. > > This happens because, on an incremental build, configure does not run > Meson, Make does instea

[PATCH] configure, meson: synchronize defaults for configure and Meson Rust options

2024-10-14 Thread Paolo Bonzini
If the defaults for --enable-rust ($rust in configure) and Meson's rust option are out of sync, incremental builds will pick Meson's default. This happens because, on an incremental build, configure does not run Meson, Make does instead. Meson then gets the command line options from either coreda