robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
b0aadfe12d
master
1# wasmtime is a chungus -- optimize _extra hard_ to keep nvim svelte 2get_externalproject_options ( wasmtime ${ DEPS_IGNORE_SHA }) 3ExternalProject_Add ( wasmtime 4DOWNLOAD_DIR ${ DEPS_DOWNLOAD_DIR } /wasmtime 5SOURCE_SUBDIR crates/c-api 6CMAKE_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) 12USES_TERMINAL_BUILD TRUE 13${ EXTERNALPROJECT_OPTIONS })