Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
- name: Format (rules_rust)
run: |
bazel run //bazel/cargo/wasmsign:crates_vendor
bazel run //bazel/cargo/wasmtime:crates_vendor
./bazel/cargo/wasmtime/vendor_and_patch.sh
git diff --exit-code
clang_format:
Expand Down
2 changes: 1 addition & 1 deletion BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ cc_library(
}),
deps = [
":wasm_vm_headers",
"@com_github_bytecodealliance_wasmtime//:prefixed_wasmtime_lib",
"@com_github_bytecodealliance_wasmtime//:wasmtime_lib",
],
)

Expand Down
7 changes: 6 additions & 1 deletion bazel/cargo/wasmtime/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@ exports_files(
)

# Run this target to regenerate cargo_lockfile and vendor_path/*.
# $ bazelisk run bazel/cargo/wasmtime:crates_vendor -- --repin
# IMPORTANT: After running this, you must patch the BUILD.wasmtime-c-api-impl file
# to use rust_static_library instead of rust_library. Use vendor_and_patch.sh:
#
# $ ./bazel/cargo/wasmtime/vendor_and_patch.sh --repin
#
# Or run crates_vendor manually and then apply the sed command documented in Cargo.toml
crates_vendor(
name = "crates_vendor",
cargo_lockfile = ":Cargo.Bazel.lock",
Expand Down
Loading
Loading