Skip to content

Commit be8c5ca

Browse files
authored
[workerd-cxx] update kj-rs (#22)
1 parent 3fd6661 commit be8c5ca

File tree

3 files changed

+12
-14
lines changed

3 files changed

+12
-14
lines changed

MODULE.bazel.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

kj_rs.bzl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
22

33

4-
URL = "https://github.com/capnproto/kj-rs/tarball/82f9a0864725cfd9676ef270664c8e2c81ecd1b9"
5-
STRIP_PREFIX = "capnproto-kj-rs-82f9a08"
6-
SHA256 = "2e2a871733c7e0de995769413efcf62c8c4580bf671a27d5f33832e12c60fffa"
4+
URL = "https://github.com/capnproto/kj-rs/tarball/d0c6021c76841905150649e308fc03b85753f775"
5+
STRIP_PREFIX = "capnproto-kj-rs-d0c6021"
6+
SHA256 = "d7d6f750d9e12cb66ff04fd1fcf56657d16589b9b8e21f45dc1da856d0a251d6"
77
TYPE = "tgz"
8-
COMMIT = "82f9a0864725cfd9676ef270664c8e2c81ecd1b9"
8+
COMMIT = "d0c6021c76841905150649e308fc03b85753f775"
99

1010
def _kj_rs(_ctx):
1111
http_archive(

tests/kj-rs/lib.rs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,11 @@ pub mod ffi {
1818
}
1919

2020
extern "Rust" {
21-
// todo(soon): enable once kj-rs side is landed.
22-
//
23-
// async fn rust_async_void_fn();
24-
// async fn rust_async_int_fn() -> i64;
21+
async fn rust_async_void_fn();
22+
async fn rust_async_int_fn() -> i64;
2523

26-
// async fn rust_async_void_result_fn() -> Result<()>;
27-
// async fn rust_async_int_result_fn() -> Result<i64>;
24+
async fn rust_async_void_result_fn() -> Result<()>;
25+
async fn rust_async_int_result_fn() -> Result<i64>;
2826
}
2927
}
3028

0 commit comments

Comments
 (0)