Skip to content

Commit 0fae93e

Browse files
committed
Move generated exported lib.rs into src/ subdir
Signed-off-by: Matt Leon <mattleon@google.com>
1 parent 0a28e04 commit 0fae93e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

bazel/external/wasmtime.BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ cc_library(
3232
rust_static_library(
3333
name = "wasmtime_lib_staticlib",
3434
srcs = [
35-
"lib.rs",
35+
"src/lib.rs",
3636
],
3737
edition = "2021",
3838
deps = [

bazel/repositories.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ def proxy_wasm_cpp_host_repositories():
394394
-e 's/\\[wasm_/\\[wasmtime_wasm_/g' \
395395
-e 's/wasmtime_config_wasm_/wasmtime_config_wasmtime_wasm_/g' \
396396
-e 's/(wasm_/(wasmtime_wasm_/g' {} \\;
397-
cat >lib.rs <<EOF
397+
cat >src/lib.rs <<EOF
398398
pub use wasmtime_c_api;
399399
EOF
400400
"""],

0 commit comments

Comments
 (0)