From ef9a850c2f4a44b69545bddf417d5360d14e7481 Mon Sep 17 00:00:00 2001 From: Eric Niebler Date: Wed, 19 Aug 2026 19:37:57 -0700 Subject: [PATCH] Add host/device attributes to `__throw_assertion_failure` function --- include/stdexec/__detail/__config.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/stdexec/__detail/__config.hpp b/include/stdexec/__detail/__config.hpp index 8539d45ca..0ec78620b 100644 --- a/include/stdexec/__detail/__config.hpp +++ b/include/stdexec/__detail/__config.hpp @@ -839,6 +839,7 @@ namespace STDEXEC struct __assertion_failure {}; + STDEXEC_ATTRIBUTE(noreturn, host, device) inline void __throw_assertion_failure() { STDEXEC_THROW(__assertion_failure{});