Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ options-pinned.h
# files related to building in-tree
CMakeFiles
*.cmake
!src/tools/wasm2c/gen-wasm2c-templates.cmake
/CMakeCache.txt
/Makefile
/*.ninja
Expand Down
6 changes: 0 additions & 6 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,3 @@
[submodule "third_party/mimalloc"]
path = third_party/mimalloc
url = https://github.com/microsoft/mimalloc.git
[submodule "third_party/simde"]
path = third_party/simde
url = https://github.com/simd-everywhere/simde
[submodule "third_party/picosha2"]
path = third_party/picosha2
url = https://github.com/okdshin/PicoSHA2
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -409,8 +409,8 @@ else() # MSVC
add_compile_flag("-Wno-unknown-warning-option")
add_compile_flag("-Wswitch") # we explicitly expect this in the code
add_compile_flag("-Wimplicit-fallthrough")
add_compile_flag("-Wnon-virtual-dtor" "CXX_ONLY")
add_compile_flag("-Wsuggest-override" "CXX_ONLY")
add_compile_flag("-Wnon-virtual-dtor")
add_compile_flag("-Wsuggest-override")

if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
# Google style requires this, so make sure we compile cleanly with it.
Expand Down
11 changes: 1 addition & 10 deletions check.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,7 @@
from multiprocessing.pool import ThreadPool
from pathlib import Path

from scripts.test import (
binaryenjs,
finalize,
shared,
support,
wasm2c,
wasm2js,
wasm_opt,
)
from scripts.test import binaryenjs, finalize, shared, support, wasm2js, wasm_opt
from scripts.test.shared import print_heading

assert sys.version_info >= (3, 10), 'requires Python 3.10'
Expand Down Expand Up @@ -450,7 +442,6 @@ def wrapper(*args, **kwargs):
'spec': run_spec_tests,
'finalize': finalize.test_wasm_emscripten_finalize,
'wasm2js': wasm2js.test_wasm2js,
'wasm2c-spec': wasm2c.test_wasm2c_spec,
'validator': run_validator_tests,
'example': run_example_tests,
'unit': run_unittest,
Expand Down
2 changes: 1 addition & 1 deletion scripts/clang-tidy-diff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function realpath() {

CLANG_DIR=$(dirname $(dirname $(realpath $CLANG_TIDY)))
CLANG_TIDY_DIFF=$CLANG_DIR/share/clang/clang-tidy-diff.py
ARG="-quiet -p1 -only-check-in-db -iregex=src/.*\.(cpp|cc|c\+\+|cxx|c|cl|h|hpp|m|mm)"
ARG="-quiet -p1 -iregex=src/.*\.(cpp|cc|c\+\+|cxx|c|cl|h|hpp|m|mm)"
if [ ! -e "$CLANG_TIDY_DIFF" ]; then
echo "Failed to find clang-tidy-diff.py ($CLANG_TIDY_DIFF)"
exit 1
Expand Down
1 change: 0 additions & 1 deletion scripts/test/shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ def is_exe(fpath):
WASM_AS = [os.path.join(options.binaryen_bin, 'wasm-as')]
WASM_DIS = [os.path.join(options.binaryen_bin, 'wasm-dis')]
WASM2JS = [os.path.join(options.binaryen_bin, 'wasm2js')]
WASM2C = [os.path.join(options.binaryen_bin, 'wasm2c')]
WASM_CTOR_EVAL = [os.path.join(options.binaryen_bin, 'wasm-ctor-eval')]
WASM_SHELL = [os.path.join(options.binaryen_bin, 'wasm-shell')]
WASM_REDUCE = [os.path.join(options.binaryen_bin, 'wasm-reduce')]
Expand Down
67 changes: 0 additions & 67 deletions scripts/test/wasm2c.py

This file was deleted.

1 change: 0 additions & 1 deletion src/tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ set(fuzzing_SOURCES
binaryen_add_executable(wasm-opt "${fuzzing_SOURCES};wasm-opt.cpp")
binaryen_add_executable(wasm-metadce wasm-metadce.cpp)
binaryen_add_executable(wasm2js wasm2js.cpp)
add_subdirectory(wasm2c)
binaryen_add_executable(wasm-emscripten-finalize wasm-emscripten-finalize.cpp)
binaryen_add_executable(wasm-as wasm-as.cpp)
binaryen_add_executable(wasm-dis wasm-dis.cpp)
Expand Down
15 changes: 0 additions & 15 deletions src/tools/wasm2c/CMakeLists.txt

This file was deleted.

Loading
Loading