Skip to content

Commit 14daeb4

Browse files
authored
Update to use coroutines from the bazel central registry (#18)
* Use const Coroutine pointers * Lots more testing for sockets * Enable interrupt test * New coroutine library layout * Define VMADDR_CID_LOCAL if not defined * Add stacktrace printer and fix some warnings * Move header inclusion to .cc * New co lib + gcc diags * Fix a few gcc warnings * Use particular co commit * Add non-owned fd option * Update co lib and fix test warning * Fix cmake build * Update README.md * New abseil * Latest co commit * New versions * Coroutines in bcr
1 parent 1c5c51e commit 14daeb4

2 files changed

Lines changed: 5 additions & 12 deletions

File tree

MODULE.bazel

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,15 @@
11
module(
22
name = "toolbelt",
3+
version = "1.5.0",
34
)
45

5-
http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
6-
7-
bazel_dep(name = "bazel_skylib", version = "1.9.0")
86
bazel_dep(name = "platforms", version = "0.0.10")
7+
bazel_dep(name = "bazel_skylib", version = "1.9.0")
98
bazel_dep(name = "abseil-cpp", version = "20250814.1")
109
bazel_dep(name = "googletest", version = "1.17.0.bcr.2")
11-
12-
# Coroutines
13-
http_archive(
14-
name = "coroutines",
15-
#integrity = "sha256-PhOYq1eE8Q8UOhzDHq2+rafTU4VTt9fZ0ZZyNE+hWb4=",
16-
strip_prefix = "co-3.0.0",
17-
urls = ["https://github.com/dallison/co/archive/refs/tags/3.0.0.tar.gz"],
18-
)
10+
bazel_dep(name = "coroutines", version = "3.0.0")
1911

2012
# For local debugging of co coroutine library.
21-
# bazel_dep(name = "coroutines")
2213
# local_path_override(
2314
# module_name = "coroutines",
2415
# path = "../co",

MODULE.bazel.lock

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

0 commit comments

Comments
 (0)