fuzz: retrieve the WebAssembly spec repository in build.rs
To avoid the large download size of the spec repository mentioned [here](https://github.com/bytecodealliance/wasmtime/pull/3124#discussion_r684605984), this change removes it as a submodule and instead clones it shallowly when the directory is empty (or not present) when `build.rs` is run.
This commit is contained in:
4
.gitmodules
vendored
4
.gitmodules
vendored
@@ -13,7 +13,3 @@
|
||||
[submodule "crates/wasi-crypto/spec"]
|
||||
path = crates/wasi-crypto/spec
|
||||
url = https://github.com/WebAssembly/wasi-crypto.git
|
||||
[submodule "crates/fuzzing/wasm-spec-interpreter/ocaml/spec"]
|
||||
path = crates/fuzzing/wasm-spec-interpreter/ocaml/spec
|
||||
url = https://github.com/WebAssembly/spec
|
||||
shallow = true
|
||||
|
||||
Reference in New Issue
Block a user