forked from M-Labs/nac3
1
0
Fork 0

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
parent aabd682664
commit 96073fe6bc
No known key found for this signature in database
GPG Key ID: 3BD5FC6AC8325DD8
1 changed files with 1 additions and 0 deletions

View File

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