Skip to content

Commit 7716034

Browse files
committed
Revert "httpvfs (unused, im using emscripten vfs instead)"
This reverts commit c91035d.
1 parent 36b442a commit 7716034

File tree

3 files changed

+2
-155
lines changed

3 files changed

+2
-155
lines changed

sql.js/Makefile

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,7 @@ EMFLAGS = \
3838
-s EXTRA_EXPORTED_RUNTIME_METHODS=@src/exported_runtime_methods.json \
3939
-s SINGLE_FILE=0 \
4040
-s NODEJS_CATCH_EXIT=0 \
41-
-s NODEJS_CATCH_REJECTION=0 \
42-
-s SMALL_XHR_CHUNKS=1 \
43-
--js-library src/httpvfs.js \
44-
--bind
41+
-s NODEJS_CATCH_REJECTION=0
4542

4643
EMFLAGS_ASM = \
4744
-s WASM=0
@@ -63,12 +60,9 @@ EMFLAGS_OPTIMIZED= \
6360
EMFLAGS_DEBUG = \
6461
-s INLINING_LIMIT=10 \
6562
-s ASSERTIONS=1 \
66-
-s SAFE_HEAP=1 \
67-
-s STACK_OVERFLOW_CHECK=1 \
68-
-s DEMANGLE_SUPPORT=1 \
6963
-O1
7064

71-
BITCODE_FILES = out/sqlite3.bc out/extension-functions.bc out/httpvfs.bc
65+
BITCODE_FILES = out/sqlite3.bc out/extension-functions.bc
7266

7367
OUTPUT_WRAPPER_FILES = src/shell-pre.js src/shell-post.js
7468

@@ -162,11 +156,6 @@ out/extension-functions.bc: sqlite-src/$(SQLITE_AMALGAMATION)
162156
# Generate llvm bitcode
163157
$(EMCC) $(CFLAGS) -s LINKABLE=1 -c sqlite-src/$(SQLITE_AMALGAMATION)/extension-functions.c -o $@
164158

165-
out/httpvfs.bc: src/httpvfs.cpp
166-
mkdir -p out
167-
# Generate llvm bitcode
168-
$(EMCC) $(CFLAGS) -s LINKABLE=1 -c src/httpvfs.cpp -o $@
169-
170159
# TODO: This target appears to be unused. If we re-instatate it, we'll need to add more files inside of the JS folder
171160
# module.tar.gz: test package.json AUTHORS README.md dist/sql-asm.js
172161
# tar --create --gzip $^ > $@

sql.js/src/httpvfs.cpp

Lines changed: 0 additions & 137 deletions
This file was deleted.

sql.js/src/httpvfs.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)