From b2900b48839deda5ee5003011ea16b6b8607efcb Mon Sep 17 00:00:00 2001 From: lyken Date: Mon, 26 Aug 2024 15:19:22 +0800 Subject: [PATCH] core/irrt: use +std=c++20 to compile To explicitly set the C++ variant and avoid inconsistencies. --- nac3core/build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/nac3core/build.rs b/nac3core/build.rs index f83b7bc7..78c26147 100644 --- a/nac3core/build.rs +++ b/nac3core/build.rs @@ -22,6 +22,7 @@ fn main() { "--target=wasm32", "-x", "c++", + "-std=c++20", "-fno-discard-value-names", "-fno-exceptions", "-fno-rtti",