Skip to content

Commit

Permalink
chore(hash): delete capnp source (#9118)
Browse files Browse the repository at this point in the history
### Description

We're not making use of the Go `capnp` bindings anymore so we can remove
the source and the fixups from our repo.

### Testing Instructions

Hashes stay stable in the integration tests
  • Loading branch information
chris-olszewski authored Sep 6, 2024
1 parent e50f9de commit fe34a06
Show file tree
Hide file tree
Showing 20 changed files with 0 additions and 11,739 deletions.
1 change: 0 additions & 1 deletion crates/turborepo-lib/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
);
let capnpc_result = capnpc::CompilerCommand::new()
.file("./src/hash/proto.capnp")
.import_path("./src/hash/std") // we need to include the 'stdlib' for capnp-go
.default_parent_module(vec!["hash".to_string()])
.run();

Expand Down
5 changes: 0 additions & 5 deletions crates/turborepo-lib/src/hash/proto.capnp
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
using Go = import "/go.capnp";

@0xe1dde60149aeb063;

$Go.package("capnp");
$Go.import("capnp");

struct TaskHashable {
globalHash @0 :Text;
taskDependencyHashes @1 :List(Text);
Expand Down
29 changes: 0 additions & 29 deletions crates/turborepo-lib/src/hash/std/capnp/c++.capnp

This file was deleted.

118 changes: 0 additions & 118 deletions crates/turborepo-lib/src/hash/std/capnp/compat/json.capnp

This file was deleted.

Loading

0 comments on commit fe34a06

Please sign in to comment.