diff options
author | Florian Klink <flokli@flokli.de> | 2023-09-26T07·30+0300 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2023-09-26T10·07+0000 |
commit | 6b02800e486a46e28d6bec79ba3ba94fe006e8c5 (patch) | |
tree | c4618647fcae77581956a065d5809f3186e386ad /tvix/store/build.rs | |
parent | 329067f62954f09bcaf87a016f4211fdcf9789dd (diff) |
chore(tvix/[ca]store): allow building without tonic-reflection r/6660
- 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 <flokli@flokli.de> Tested-by: BuildkiteCI Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Diffstat (limited to 'tvix/store/build.rs')
-rw-r--r-- | tvix/store/build.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |