neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

BuildWasmtime.cmake (639B)


      1 # wasmtime is a chungus -- optimize _extra hard_ to keep nvim svelte
      2 get_externalproject_options(wasmtime ${DEPS_IGNORE_SHA})
      3 ExternalProject_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_DRC=ON        # ...and this one (needed by ts to create engines)
     11  USES_TERMINAL_BUILD TRUE
     12  ${EXTERNALPROJECT_OPTIONS})