Skip to content

Commit 2913fff

Browse files
Fix WASM CI: add missing REPL.c and remove debug_hash.cpp
- lake target: build both REPL and WasmRepl to generate REPL.c - CMakeLists.txt: remove debug_hash.cpp from test_wasm_node sources
1 parent 950c7d6 commit 2913fff

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
run: pixi run -e wasm-build fix-emscripten-links || true
8787

8888
- name: Build Lean REPL (lake)
89-
run: lake build WasmRepl
89+
run: lake build REPL WasmRepl
9090

9191
- name: Configure WASM build (emcmake)
9292
run: |

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ if(EMSCRIPTEN)
292292
# Node.js test executable (standalone, no xeus dependency)
293293
# ========================================================
294294

295-
add_executable(test_wasm_node test_wasm_node.cpp debug_hash.cpp ${WASM_SYMTAB_FILE})
295+
add_executable(test_wasm_node test_wasm_node.cpp ${WASM_SYMTAB_FILE})
296296
target_include_directories(test_wasm_node PRIVATE ${LEAN4_INCLUDE_DIR})
297297
target_link_libraries(test_wasm_node PRIVATE
298298
${STAGE0_REPL_LIB}

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ all: build test
2828

2929
# Generate .c files from Lean source (required before cmake)
3030
lake:
31-
lake build WasmRepl
31+
lake build REPL WasmRepl
3232

3333
configure: lake
3434
$(NIX_SHELL) '\

0 commit comments

Comments
 (0)