Skip to content

Commit dff0977

Browse files
committed
wasm: lucet no longer exists (merged into wasmtime).
1 parent 37f6225 commit dff0977

File tree

6 files changed

+5
-30
lines changed

6 files changed

+5
-30
lines changed

IMPLS.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ IMPL:
105105
# no self-host perf for wasm due to mac stack overflow
106106
- {IMPL: wasm, wasm_MODE: wasmtime, NO_SELF_HOST_PERF: 1, NO_PERF: 1}
107107
- {IMPL: wasm, wasm_MODE: wasmer, NO_SELF_HOST_PERF: 1, NO_PERF: 1}
108-
- {IMPL: wasm, wasm_MODE: lucet, NO_SELF_HOST_PERF: 1, NO_PERF: 1}
109108
#- {IMPL: wasm, wasm_MODE: wax, NO_SELF_HOST_PERF: 1} # Hangs on GH Actions
110109
- {IMPL: wasm, wasm_MODE: node, NO_SELF_HOST_PERF: 1, NO_PERF: 1}
111110
#- {IMPL: wasm, wasm_MODE: warpy, NO_SELF_HOST_PERF: 1} # Hangs on GH Actions

Makefile.impls

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ python_MODE = python
2626
scheme_MODE = chibi
2727
# sml (polyml, mlton, mosml)
2828
sml_MODE = polyml
29-
# wasmtime wasmer lucet wax node warpy wace_libc
29+
# wasmtime wasmer wax node warpy wace_libc
3030
wasm_MODE = wasmtime
3131

3232

@@ -191,7 +191,7 @@ vala_STEP_TO_PROG = impls/vala/$($(1))
191191
vb_STEP_TO_PROG = impls/vb/$($(1)).exe
192192
vhdl_STEP_TO_PROG = impls/vhdl/$($(1))
193193
vimscript_STEP_TO_PROG = impls/vimscript/$($(1)).vim
194-
wasm_STEP_TO_PROG = impls/wasm/$($(1)).$(if $(filter lucet,$(wasm_MODE)),so,wasm)
194+
wasm_STEP_TO_PROG = impls/wasm/$($(1)).wasm
195195
wren_STEP_TO_PROG = impls/wren/$($(1)).wren
196196
yorick_STEP_TO_PROG = impls/yorick/$($(1)).i
197197
xslt_STEP_TO_PROG = impls/xslt/$($(1))

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ process guide](process/guide.md) there is also a [mal/make-a-lisp
4141
FAQ](docs/FAQ.md) where I attempt to answer some common questions.
4242

4343

44-
**3. Mal is implemented in 87 languages (93 different implementations and 115 runtime modes)**
44+
**3. Mal is implemented in 87 languages (93 different implementations and 114 runtime modes)**
4545

4646
| Language | Creator |
4747
| -------- | ------- |
@@ -1225,7 +1225,6 @@ runs under several different non-web embeddings (runtimes):
12251225
[node](https://nodejs.org),
12261226
[wasmtime](https://github.com/CraneStation/wasmtime),
12271227
[wasmer](https://wasmer.io),
1228-
[lucet](https://github.com/fastly/lucet),
12291228
[wax](https://github.com/kanaka/wac),
12301229
[wace](https://github.com/kanaka/wac),
12311230
[warpy](https://github.com/kanaka/warpy).
@@ -1241,9 +1240,6 @@ wasmtime --dir=./ --dir=../ --dir=/ ./stepX_YYY.wasm
12411240
# wasmer
12421241
make wasm_MODE=wasmer
12431242
wasmer run --dir=./ --dir=../ --dir=/ ./stepX_YYY.wasm
1244-
# lucet
1245-
make wasm_MODE=lucet
1246-
lucet-wasi --dir=./:./ --dir=../:../ --dir=/:/ ./stepX_YYY.so
12471243
# wax
12481244
make wasm_MODE=wax
12491245
wax ./stepX_YYY.wasm

impls/wasm/Dockerfile

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -153,14 +153,6 @@ RUN curl https://get.wasmer.io -sSfL | sh && \
153153
# cargo build --release && \
154154
# cp target/release/wasmer /usr/bin/
155155

156-
#
157-
# lucet
158-
#
159-
160-
RUN git clone --recursive https://github.com/fastly/lucet && \
161-
cd lucet && \
162-
make install
163-
164156
#
165157
# wasmtime
166158
#
@@ -188,11 +180,6 @@ COPY --from=runtimes /usr/bin/warpy /usr/bin/warpy
188180
COPY --from=runtimes /usr/bin/wasmtime /usr/bin/wasmtime
189181
COPY --from=runtimes /usr/bin/wasm2obj /usr/bin/wasm2obj
190182

191-
RUN mkdir -p /opt/lucet/bin
192-
COPY --from=runtimes /opt/lucet/ /opt/lucet
193-
RUN ln -sf /opt/lucet/bin/lucetc-wasi /usr/bin/lucetc-wasi
194-
RUN ln -sf /opt/lucet/bin/lucet-wasi /usr/bin/lucet-wasi
195-
196183
COPY --from=runtimes /usr/bin/wasmer /usr/bin/wasmer
197184
COPY --from=runtimes /usr/bin/wapm /usr/bin/wapm
198185

impls/wasm/Makefile

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@ MODE ?= $(strip \
55
direct,\
66
wasi)))
77

8-
EXT = $(if $(filter lucet,$(wasm_MODE)),.so,.wasm)
8+
EXT = .wasm
99

1010
WASM_AS ?= wasm-as
1111
WAMP ?= node_modules/.bin/wamp
12-
LUCETC ?= lucetc-wasi
1312

1413
STEP0_DEPS = $(WAMP) platform_$(MODE).wam string.wam printf.wam
1514
STEP1_DEPS = $(STEP0_DEPS) types.wam mem.wam debug.wam reader.wam printer.wam
@@ -31,10 +30,6 @@ node_modules/.bin/wamp:
3130
%.wasm: %.wat
3231
$(WASM_AS) $< -o $@
3332

34-
# lucet object binaries
35-
%.so: %.wasm
36-
$(LUCETC) $< -o $@
37-
3833
step0_repl.wat: $(STEP0_DEPS)
3934
step1_read_print.wat step2_eval.wat: $(STEP1_DEPS)
4035
step3_env.wat: $(STEP3_DEPS)
@@ -44,4 +39,4 @@ step7_quote.wat step8_macros.wat step9_try.wat stepA_mal.wat: $(STEP4_DEPS)
4439
.PHONY: clean
4540

4641
clean:
47-
rm -f *.wat *.wasm *.so
42+
rm -f *.wat *.wasm

impls/wasm/run

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ STEP=${STEP:-stepA_mal}
33
case "${wasm_MODE}" in
44
wasmtime)
55
exec wasmtime --dir=./ --dir=../ --dir=/ $(dirname $0)/${STEP:-stepA_mal}.wasm "${@}" ;;
6-
lucet)
7-
exec lucet-wasi --dir=./:./ --dir=../:../ --dir=/:/ $(dirname $0)/${STEP:-stepA_mal}.so -- "${@}" ;;
86
wasmer)
97
exec wasmer run --dir=./ --dir=../ --dir=/ $(dirname $0)/${STEP:-stepA_mal}.wasm -- "${@}" ;;
108
warpy)

0 commit comments

Comments
 (0)