core/irrt: build with -W=return-type

To help catch future C++ programming bugs
This commit is contained in:
lyken 2024-07-12 20:34:06 +08:00
parent 4948395ca2
commit 474e0ab809

View File

@ -31,6 +31,7 @@ fn main() {
"-S",
"-Wall",
"-Wextra",
"-Werror=return-type",
"-o",
"-",
];