Skip to content

Commit

Permalink
test file output for binary
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdovzhanyn committed Sep 29, 2024
1 parent 1b9d07c commit 69650e2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cmake-single-platform-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ jobs:
- name: Make LexerTest Executable
run: chmod +x ${{ github.workspace }}/build/LexerTest

- name: Output Wasmer directory
run: ls -laR ${{ github.workspace }}/lib/wasmer
- name: Output LexerText directory
run: file ${{ github.workspace }}/build/LexerTest

- name: Run Lexer Test
working-directory: ${{ github.workspace }}/build
Expand Down
5 changes: 5 additions & 0 deletions src/compiler/CodeGen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
#include <mach-o/dyld.h>
#endif

#pragma push_macro("RETURN")
#undef RETURN

namespace Theta {
BinaryenModuleRef CodeGen::generateWasmFromAST(shared_ptr<ASTNode> ast) {
BinaryenModuleRef module = initializeWasmModule();
Expand Down Expand Up @@ -1405,3 +1408,5 @@ namespace Theta {
return stream.str();
}
}

#pragma pop_macro("RETURN")

0 comments on commit 69650e2

Please sign in to comment.