Skip to content

Commit 90cbbce

Browse files
authored
Use const Coroutine pointers (#17)
* 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
1 parent 3f9891d commit 90cbbce

23 files changed

Lines changed: 1887 additions & 242 deletions

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ FetchContent_MakeAvailable(abseil)
4040
FetchContent_Declare(
4141
co
4242
GIT_REPOSITORY https://github.com/dallison/co.git
43-
GIT_TAG main
43+
GIT_TAG cf1252b2f5952d7cba83b67dd69288971c0a2b57
4444
# Pass architecture settings to co's CMake build
4545
CMAKE_ARGS
4646
CMAKE_OSX_ARCHITECTURES="${CMAKE_OSX_ARCHITECTURES}"

MODULE.bazel

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,24 @@ module(
44

55
http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
66

7-
bazel_dep(name = "bazel_skylib", version = "1.7.1")
87
bazel_dep(name = "platforms", version = "0.0.10")
9-
bazel_dep(name = "abseil-cpp", version = "20240722.0.bcr.1", repo_name = "com_google_absl")
10-
bazel_dep(name = "googletest", version = "1.15.2", repo_name = "com_google_googletest")
8+
bazel_dep(name = "bazel_skylib", version = "1.9.0")
9+
bazel_dep(name = "abseil-cpp", version = "20250814.1")
10+
bazel_dep(name = "googletest", version = "1.17.0.bcr.2")
11+
1112

1213
# Coroutines
1314
http_archive(
1415
name = "coroutines",
15-
integrity = "sha256-PhOYq1eE8Q8UOhzDHq2+rafTU4VTt9fZ0ZZyNE+hWb4=",
16-
strip_prefix = "co-2.1.0",
17-
urls = ["https://github.com/dallison/co/archive/refs/tags/2.1.0.tar.gz"],
16+
integrity = "sha256-TNSGNjwZjsIomPfF0G+YiQGawmPk73fZ65HI9+qKM9s=",
17+
strip_prefix = "co-3.0.0",
18+
urls = ["https://github.com/dallison/co/releases/download/3.0.0/co-3.0.0.tar.gz"],
1819
)
20+
1921
# For local debugging of co coroutine library.
2022
# bazel_dep(name = "coroutines")
2123
# local_path_override(
22-
# module_name = "coroutines",
23-
# path = "../co",
24+
# module_name = "coroutines",
25+
# path = "../co",
2426
# )
27+

MODULE.bazel.lock

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

0 commit comments

Comments
 (0)