summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu <matthieu@developershouse.xyz>2021-09-09 23:31:47 +0400
committerMatthieu <matthieu@developershouse.xyz>2021-09-09 23:31:47 +0400
commit3ebfe6df71b3356250536b35b677a733c42235c9 (patch)
tree294013766aa17578c39a85a47ff96928dae0ca71
parent11912b050a97c258a8a38552d855f183c339beee (diff)
fix build
-rw-r--r--.bazelrc3
-rw-r--r--gateway/BUILD4
2 files changed, 3 insertions, 4 deletions
diff --git a/.bazelrc b/.bazelrc
index 10043ca..6659e7e 100644
--- a/.bazelrc
+++ b/.bazelrc
@@ -1,2 +1,3 @@
startup --windows_enable_symlinks
-build --enable_runfiles \ No newline at end of file
+build --enable_runfiles
+build --features=compiler_param_file \ No newline at end of file
diff --git a/gateway/BUILD b/gateway/BUILD
index f63e1ca..70130fc 100644
--- a/gateway/BUILD
+++ b/gateway/BUILD
@@ -14,9 +14,7 @@ rust_binary(
rust_image(
name = "image",
- srcs = glob(["src/**/*.rs"]),
- proc_macro_deps = crate_deps(["serde_repr"]),
- deps = all_crate_deps(),
+ binary = ":gateway",
visibility = ["//visibility:public"],
base = "//bazel:base",
)