robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

Christian Clasonbuild(deps): bump tree-sitter and wasmtime (#41411)b0aadfe12d

master
708 B13 linesraw
1# wasmtime is a chungus -- optimize _extra hard_ to keep nvim svelte
2get_externalproject_options(wasmtime ${DEPS_IGNORE_SHA})
3ExternalProject_Add(wasmtime
4  DOWNLOAD_DIR ${DEPS_DOWNLOAD_DIR}/wasmtime
5  SOURCE_SUBDIR crates/c-api
6  CMAKE_ARGS ${DEPS_CMAKE_ARGS}
7    -D WASMTIME_FASTEST_RUNTIME=ON       # build with full LTO
8    -D WASMTIME_DISABLE_ALL_FEATURES=ON  # don't need all that crap...
9    -D WASMTIME_FEATURE_CRANELIFT=ON     # ...except this one (compiles wasm to platform code)
10    -D WASMTIME_FEATURE_GC=ON            # ...and this one (needed by ts to create engines)
11    -D WASMTIME_FEATURE_GC_NULL=ON       # ...and this one (reasons)
12  USES_TERMINAL_BUILD TRUE
13  ${EXTERNALPROJECT_OPTIONS})