On Fri, Jan 10, 2025 at 2:33 PM Andreas Hindborg <a.hindborg@xxxxxxxxxx> wrote: > > @Miguel: Should I look into exempting host programs, or do you already > have an idea of how to implement? I will send a v2. I may take the chance to already apply the first patch into `rust-next`, since that could go in already. > Regarding host programs, it would be nice to set werror for those. How > does C do this? Is W=e enough? Neither `CONFIG_WERROR` nor `W=e` apply to C host programs. However, you may already do: make ... HOSTCFLAGS=-Werror And for Rust: make ... HOSTRUSTFLAGS=-Dwarnings I could perhaps add that into the docs. I hope that helps, and thanks for the tags! Cheers, Miguel