Skip to content

Commit 405f355

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

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
@@ -396,7 +396,7 @@ def proxy_wasm_cpp_host_repositories():
396396
-e 's/\\[wasm_/\\[wasmtime_wasm_/g' \
397397
-e 's/wasmtime_config_wasm_/wasmtime_config_wasmtime_wasm_/g' \
398398
-e 's/(wasm_/(wasmtime_wasm_/g' {} \\;
399-
cat >lib.rs <<EOF
399+
cat >src/lib.rs <<EOF
400400
pub use wasmtime_c_api;
401401
EOF
402402
"""],

0 commit comments

Comments
 (0)