[Bug 292636] Mk/Uses/meson.mk: Disable asserts on release builds
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 14 Mar 2026 19:00:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292636 --- Comment #8 from Gleb Popov <arrowd@FreeBSD.org> --- (In reply to John Hein from comment #7) > Though this is not a direct question to meson upstream, I think this answers Gleb's question in a RTFM context. No, my question is why Meson defaults to "false" rather than "if-release". If there is a reason why asserts are always enabled by default, then we should take it into consideration before making Ports deviate from upstream's default. > Daniel, do you have a fairly easy (even if contrived) reproduction case for a particular port that exhibits the problem (not getting built with disabled asserts)? Just building a port is enough only for static assertions. In my experience most assertions are run-time, so it is needed to actually run the code. Anyways, right now assertions are enabled, so disabling them should not break anything (unless a bug assert() usages that contain important code inside). -- You are receiving this mail because: You are the assignee for the bug.