core/irrt: use +std=c++20 to compile

To explicitly set the C++ variant and avoid inconsistencies.
This commit is contained in:
lyken 2024-08-26 15:19:22 +08:00 committed by Sébastien Bourdeauducq
parent c6dade1394
commit b2900b4883
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ fn main() {
"--target=wasm32",
"-x",
"c++",
"-std=c++20",
"-fno-discard-value-names",
"-fno-exceptions",
"-fno-rtti",