From 6f42a293f84c9afc3e5c1b536836e8b2b245f401 Mon Sep 17 00:00:00 2001 From: Iain Date: Mon, 19 Oct 2026 04:15:37 +0100 Subject: [PATCH] mention the parallel scheduler backend under the README example --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 44356a4ba..e96fb2c4e 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,8 @@ int main() { } ``` +`get_parallel_scheduler()` needs its backend compiled in, so either define `STDEXEC_PARALLEL_SCHEDULER_HEADER_ONLY` for your target (as the godbolt link does), or configure stdexec with `-DSTDEXEC_BUILD_PARALLEL_SCHEDULER=ON` and link `STDEXEC::parallel_scheduler`. Without either, the program can still link and then crash on that call. + ## Features - **C++26 reference implementation** of `std::execution` (P2300).