[libcoro] update to 0.15.0 (#46020)

This commit is contained in:
toge
2025-06-17 08:43:24 +09:00
committed by GitHub
parent 7b31f49d5f
commit 64fd74a0f5
5 changed files with 26 additions and 3 deletions

View File

@@ -0,0 +1,16 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a27a052..1a1e113 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -14,6 +14,11 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
link_libraries(-lc++)
endif()
+# for C++20 std library (ex. std::stop_token)
+if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin" OR ${CMAKE_SYSTEM_NAME} MATCHES "Android")
+ add_compile_options(-fexperimental-library)
+endif()
+
if(UNIX AND NOT APPLE)
set(LINUX TRUE)
endif()

View File

@@ -2,8 +2,10 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO jbaldwin/libcoro
REF "v${VERSION}"
SHA512 ba64abd0d99d148971f6b24cdd9ed112b6091016f16263396f65c21f23233d43ce92708a48540c3ab9ef87f67defa681331b6b8af5d9ec58a61adc527a2ffb9b
SHA512 a975c75b7896cefa8ca3e07a81045ddfb29f7ba9fd069d4e8d37430428fe5ce222940c9d58fd549e53be5f92d3d30c7d0c27de1564f49fbc6fb4b866712624ec
HEAD_REF master
PATCHES
add-experimental-library.patch
)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS

View File

@@ -1,6 +1,6 @@
{
"name": "libcoro",
"version": "0.14.1",
"version": "0.15.0",
"description": "C++20 coroutine library",
"homepage": "https://github.com/jbaldwin/libcoro",
"license": "Apache-2.0",

View File

@@ -4537,7 +4537,7 @@
"port-version": 0
},
"libcoro": {
"baseline": "0.14.1",
"baseline": "0.15.0",
"port-version": 0
},
"libcorrect": {

View File

@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "5d081d31f827f310e804d1f511e28ad73effe102",
"version": "0.15.0",
"port-version": 0
},
{
"git-tree": "114e39ef20e4bb604e7dd49d4a630828fd1003f2",
"version": "0.14.1",