Skip to content

Commit 8fc219e

Browse files
committed
Update emsdk used to 4.0.9
1 parent 2df83a9 commit 8fc219e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

environment-wasm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: CppInterOp-wasm
22
channels:
3-
- https://prefix.dev/emscripten-forge-dev
3+
- https://prefix.dev/emscripten-forge-4x
44
- https://prefix.dev/conda-forge
55
dependencies:
6-
- emscripten-abi==3.1.73
6+
- emscripten-abi==4.0.9
77
- nlohmann_json
88
- nlohmann_json-abi
99
- xeus-lite

unittests/CppInterOp/FunctionReflectionTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1455,7 +1455,7 @@ TYPED_TEST(CppInterOpTest, FunctionReflectionTestGetFunctionAddress) {
14551455

14561456
std::vector<Decl*> Decls;
14571457
std::string code = "int f1(int i) { return i * i; }";
1458-
std::vector<const char*> interpreter_args = {"-include", "new"};
1458+
std::vector<const char*> interpreter_args = {"-include", "new", "-Xclang", "-iwithsysroot/include/compat"};
14591459

14601460
GetAllTopLevelDecls(code, Decls, /*filter_implicitGenerated=*/false,
14611461
interpreter_args);

unittests/CppInterOp/InterpreterTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ TYPED_TEST(CppInterOpTest, InterpreterTestProcess) {
142142
GTEST_SKIP() << "Test fails for OOP JIT builds";
143143
if (llvm::sys::RunningOnValgrind())
144144
GTEST_SKIP() << "XFAIL due to Valgrind report";
145-
std::vector<const char*> interpreter_args = { "-include", "new" };
145+
std::vector<const char*> interpreter_args = { "-include", "new", "-Xclang", "-iwithsysroot/include/compat" };
146146
auto* I = TestFixture::CreateInterpreter(interpreter_args);
147147
EXPECT_TRUE(Cpp::Process("") == 0);
148148
EXPECT_TRUE(Cpp::Process("int a = 12;") == 0);

0 commit comments

Comments
 (0)