From 6b02800e486a46e28d6bec79ba3ba94fe006e8c5 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Tue, 26 Sep 2023 10:30:35 +0300 Subject: chore(tvix/[ca]store): allow building without tonic-reflection - rename the feature to `tonic-reflection` in both tvix-store and tvix- castore. - set it to disabled in tvix-castore by default - enable it in tvix-store, and pull in tvix-castore with the feature enabled. Change-Id: Ie22833d85569502cae55812f6eeb17a9c15b9e2c Reviewed-on: https://cl.tvl.fyi/c/depot/+/9472 Autosubmit: flokli Tested-by: BuildkiteCI Reviewed-by: raitobezarius --- tvix/store/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tvix/store/build.rs') diff --git a/tvix/store/build.rs b/tvix/store/build.rs index 9a7356f84eec..cfeda59698a0 100644 --- a/tvix/store/build.rs +++ b/tvix/store/build.rs @@ -4,7 +4,7 @@ fn main() -> Result<()> { #[allow(unused_mut)] let mut builder = tonic_build::configure(); - #[cfg(feature = "reflection")] + #[cfg(feature = "tonic-reflection")] { let out_dir = std::path::PathBuf::from(std::env::var("OUT_DIR").unwrap()); let descriptor_path = out_dir.join("tvix.store.v1.bin"); -- cgit 1.4.1