Skip to content

Commit f58d2b5

Browse files
committed
remove native.bind for bzlmod compatibility
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
1 parent c8868da commit f58d2b5

File tree

2 files changed

+5
-30
lines changed

2 files changed

+5
-30
lines changed

BUILD

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ cc_library(
133133
],
134134
deps = [
135135
":wasm_vm_headers",
136-
"//external:wee8",
136+
"@v8//:wee8",
137137
],
138138
)
139139

@@ -151,7 +151,7 @@ cc_library(
151151
],
152152
deps = [
153153
":wasm_vm_headers",
154-
"//external:wamr",
154+
"@com_github_bytecodealliance_wasm_micro_runtime//:wamr_lib",
155155
],
156156
)
157157

@@ -178,7 +178,7 @@ cc_library(
178178
}),
179179
deps = [
180180
":wasm_vm_headers",
181-
"//external:wasmedge",
181+
"@com_github_wasmedge_wasmedge//:wasmedge_lib",
182182
],
183183
)
184184

@@ -217,7 +217,7 @@ cc_library(
217217
}),
218218
deps = [
219219
":wasm_vm_headers",
220-
"//external:wasmtime",
220+
"@com_github_bytecodealliance_wasmtime//:wasmtime_lib",
221221
],
222222
)
223223

@@ -276,7 +276,7 @@ cc_library(
276276
}),
277277
deps = [
278278
":wasm_vm_headers",
279-
"//external:prefixed_wasmtime",
279+
"@com_github_bytecodealliance_wasmtime//:prefixed_wasmtime_lib",
280280
],
281281
)
282282

bazel/repositories.bzl

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -257,11 +257,6 @@ def proxy_wasm_cpp_host_repositories():
257257
build_file = "@proxy_wasm_cpp_host//bazel/external:intel_ittapi.BUILD",
258258
)
259259

260-
native.bind(
261-
name = "wee8",
262-
actual = "@v8//:wee8",
263-
)
264-
265260
# WAMR with dependencies.
266261

267262
maybe(
@@ -274,11 +269,6 @@ def proxy_wasm_cpp_host_repositories():
274269
url = "https://github.com/bytecodealliance/wasm-micro-runtime/archive/refs/tags/WAMR-2.4.1.zip",
275270
)
276271

277-
native.bind(
278-
name = "wamr",
279-
actual = "@com_github_bytecodealliance_wasm_micro_runtime//:wamr_lib",
280-
)
281-
282272
maybe(
283273
http_archive,
284274
name = "llvm-15_0_7",
@@ -299,11 +289,6 @@ def proxy_wasm_cpp_host_repositories():
299289
url = "https://github.com/WasmEdge/WasmEdge/archive/refs/tags/proxy-wasm/0.13.1.tar.gz",
300290
)
301291

302-
native.bind(
303-
name = "wasmedge",
304-
actual = "@com_github_wasmedge_wasmedge//:wasmedge_lib",
305-
)
306-
307292
# Wasmtime with dependencies.
308293

309294
maybe(
@@ -314,13 +299,3 @@ def proxy_wasm_cpp_host_repositories():
314299
strip_prefix = "wasmtime-24.0.0",
315300
url = "https://github.com/bytecodealliance/wasmtime/archive/v24.0.0.tar.gz",
316301
)
317-
318-
native.bind(
319-
name = "wasmtime",
320-
actual = "@com_github_bytecodealliance_wasmtime//:wasmtime_lib",
321-
)
322-
323-
native.bind(
324-
name = "prefixed_wasmtime",
325-
actual = "@com_github_bytecodealliance_wasmtime//:prefixed_wasmtime_lib",
326-
)

0 commit comments

Comments
 (0)