Skip to content

Commit

Permalink
Update capnproto branch
Browse files Browse the repository at this point in the history
  • Loading branch information
harrishancock committed Jan 17, 2025
1 parent 8774cac commit 933578e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions build/deps/gen/dep_capnp_cpp.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

load("@//:build/http.bzl", "http_archive")

URL = "https://github.com/capnproto/capnproto/tarball/4520654f9ee43c32c3ac38db153863259d8a199a"
STRIP_PREFIX = "capnproto-capnproto-4520654/c++"
SHA256 = "2a9804988d75a1190182d0bdfef1b34953e7acbaae85be4e367ade0184ddb7c8"
URL = "https://github.com/capnproto/capnproto/tarball/cfa65fcaaf1a9c62db9fe0b4d49e5eeeb7fd7872"
STRIP_PREFIX = "capnproto-capnproto-cfa65fc/c++"
SHA256 = "83c65796140efdc54082277a61664b3c6ce9b61a24e6a5731d363ee3753f96d5"
TYPE = "tgz"
COMMIT = "4520654f9ee43c32c3ac38db153863259d8a199a"
COMMIT = "cfa65fcaaf1a9c62db9fe0b4d49e5eeeb7fd7872"

def dep_capnp_cpp():
http_archive(
Expand Down
2 changes: 1 addition & 1 deletion src/rust/async/waker.c++
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ void ArcWaker::drop() const {
PromiseArcWakerPair newPromiseAndArcWaker(const kj::Executor& executor) {
// TODO(perf): newPromiseAndCrossThreadFulfiller() makes two heap allocations, but it is probably
// optimizable to one.
auto [promise, fulfiller] = kj::newPromiseAndCrossThreadFulfiller<WakeInstruction>(executor);
auto [promise, fulfiller] = executor.newPromiseAndCrossThreadFulfiller<WakeInstruction>();
return {
.promise = kj::mv(promise),
// TODO(perf): This heap allocation could also probably be collapsed into the fulfiller's.
Expand Down

0 comments on commit 933578e

Please sign in to comment.