diff --git a/.githooks/readme-template.md b/.githooks/readme-template.md index d6096dd7..cc032ab6 100644 --- a/.githooks/readme-template.md +++ b/.githooks/readme-template.md @@ -1,6 +1,6 @@ # libcoro C++20 coroutine library -[![CI](https://github.com/jbaldwin/libcoro/workflows/build/badge.svg)](https://github.com/jbaldwin/libcoro/workflows/build/badge.svg) +[![CI](https://github.com/jbaldwin/libcoro/actions/workflows/ci-coverage.yml/badge.svg)](https://github.com/jbaldwin/libcoro/actions/workflows/ci-coverage.yml) [![Coverage Status](https://coveralls.io/repos/github/jbaldwin/libcoro/badge.svg?branch=main)](https://coveralls.io/github/jbaldwin/libcoro?branch=main) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/c190d4920e6749d4b4d1a9d7d6687f4f)](https://www.codacy.com/gh/jbaldwin/libcoro/dashboard?utm_source=github.com&utm_medium=referral&utm_content=jbaldwin/libcoro&utm_campaign=Badge_Grade) [![language][badge.language]][language] @@ -41,6 +41,11 @@ - coro::net::udp::peer * [Example TCP/HTTP Echo Server](#tcp_echo_server) +* [Requirements](#requirements) +* [Build Instructions](#build-instructions) +* [Testing](#tests) +* [Support](#support) + ## Usage ### A note on co_await @@ -396,13 +401,15 @@ Transfer/sec: 18.33MB openssl gcov/lcov (For generating coverage only) -### Instructions +### Build Instructions -#### Tested Distos +#### Tested Operating Systems * ubuntu:20.04, 22.04 - * fedora:32-37 + * fedora:32-40 * openSUSE/leap:15.2 + * Windows 2022 + * Emscripten 3.1.45 #### Cloning the project This project uses git submodules, to properly checkout this project use: diff --git a/README.md b/README.md index 7f551d20..baa2538e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # libcoro C++20 coroutine library -[![CI](https://github.com/jbaldwin/libcoro/workflows/build/badge.svg)](https://github.com/jbaldwin/libcoro/workflows/build/badge.svg) +[![CI](https://github.com/jbaldwin/libcoro/actions/workflows/ci-coverage.yml/badge.svg)](https://github.com/jbaldwin/libcoro/actions/workflows/ci-coverage.yml) [![Coverage Status](https://coveralls.io/repos/github/jbaldwin/libcoro/badge.svg?branch=main)](https://coveralls.io/github/jbaldwin/libcoro?branch=main) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/c190d4920e6749d4b4d1a9d7d6687f4f)](https://www.codacy.com/gh/jbaldwin/libcoro/dashboard?utm_source=github.com&utm_medium=referral&utm_content=jbaldwin/libcoro&utm_campaign=Badge_Grade) [![language][badge.language]][language] @@ -41,6 +41,11 @@ - coro::net::udp::peer * [Example TCP/HTTP Echo Server](#tcp_echo_server) +* [Requirements](#requirements) +* [Build Instructions](#build-instructions) +* [Testing](#tests) +* [Support](#support) + ## Usage ### A note on co_await @@ -1099,13 +1104,15 @@ Transfer/sec: 18.33MB openssl gcov/lcov (For generating coverage only) -### Instructions +### Build Instructions -#### Tested Distos +#### Tested Operating Systems * ubuntu:20.04, 22.04 - * fedora:32-37 + * fedora:32-40 * openSUSE/leap:15.2 + * Windows 2022 + * Emscripten 3.1.45 #### Cloning the project This project uses git submodules, to properly checkout this project use: diff --git a/include/coro/io_scheduler.hpp b/include/coro/io_scheduler.hpp index 81ec4495..1c1f46d7 100644 --- a/include/coro/io_scheduler.hpp +++ b/include/coro/io_scheduler.hpp @@ -331,6 +331,8 @@ class io_scheduler /// Tasks that have their ownership passed into the scheduler. This is a bit strange for now /// but the concept doesn't pass since io_scheduler isn't fully defined yet. /// The type is coro::task_container* + /// Do not inline any functions that use this in the io_scheduler header, it can cause the linker + /// to complain about "defined in discarded section" because it gets defined multiple times void* m_owned_tasks{nullptr}; static constexpr const int m_shutdown_object{0};