about summary refs log tree commit diff
path: root/tvix/castore/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/castore/build.rs')
-rw-r--r--tvix/castore/build.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tvix/castore/build.rs b/tvix/castore/build.rs
index 6424487b2112..089c093e71b4 100644
--- a/tvix/castore/build.rs
+++ b/tvix/castore/build.rs
@@ -15,6 +15,7 @@ fn main() -> Result<()> {
     // https://github.com/hyperium/tonic/issues/908
     let mut config = prost_build::Config::new();
     config.bytes(["."]);
+    config.type_attribute(".", "#[derive(Eq, Hash)]");
 
     builder
         .build_server(true)