Skip to content

Commit fd40710

Browse files
authored
wasmtime: rely on the build script to build helpers. (#218)
Helpers are compiled by the build script in wasmtime-runtime crate, which also sets a platform-specific define that was missing here. Signed-off-by: Piotr Sikora <piotrsikora@google.com>
1 parent a887508 commit fd40710

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

bazel/external/wasmtime.BUILD

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,6 @@ licenses(["notice"]) # Apache 2
55

66
package(default_visibility = ["//visibility:public"])
77

8-
cc_library(
9-
name = "helpers_lib",
10-
srcs = [
11-
"crates/runtime/src/helpers.c",
12-
],
13-
visibility = ["//visibility:private"],
14-
)
15-
168
rust_library(
179
name = "rust_c_api",
1810
srcs = glob(["crates/c-api/src/**/*.rs"]),
@@ -24,7 +16,6 @@ rust_library(
2416
"@proxy_wasm_cpp_host//bazel/cargo:wasmtime_c_api_macros",
2517
],
2618
deps = [
27-
":helpers_lib",
2819
"@proxy_wasm_cpp_host//bazel/cargo:anyhow",
2920
"@proxy_wasm_cpp_host//bazel/cargo:env_logger",
3021
"@proxy_wasm_cpp_host//bazel/cargo:once_cell",

0 commit comments

Comments
 (0)