]> git.puffer.fish Git - matthieu/nova.git/commitdiff
fix build
authorMatthieu <matthieu@developershouse.xyz>
Thu, 9 Sep 2021 19:31:47 +0000 (23:31 +0400)
committerMatthieu <matthieu@developershouse.xyz>
Thu, 9 Sep 2021 19:31:47 +0000 (23:31 +0400)
.bazelrc
gateway/BUILD

index 10043ca0cc06e5c12cd60acd10aafb1f379c4dba..6659e7e471895ef1fa4df6219634a34765566122 100644 (file)
--- a/.bazelrc
+++ b/.bazelrc
@@ -1,2 +1,3 @@
 startup --windows_enable_symlinks\r
-build --enable_runfiles
\ No newline at end of file
+build --enable_runfiles\r
+build --features=compiler_param_file
\ No newline at end of file
index f63e1cadf45cbb8f63684a3162c02add67378523..70130fc46eb92bbf7a31b3a4b8d3e67687b258a2 100644 (file)
@@ -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",
 )