Skip to content

Commit bb1bdd7

Browse files
authored
Merge pull request #2218 from ericniebler/host-device-attributes-on-throw-assertion-failure
Add host/device attributes to `__throw_assertion_failure` function
2 parents fb944c3 + ef9a850 commit bb1bdd7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

include/stdexec/__detail/__config.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -839,6 +839,7 @@ namespace STDEXEC
839839
struct __assertion_failure
840840
{};
841841

842+
STDEXEC_ATTRIBUTE(noreturn, host, device)
842843
inline void __throw_assertion_failure()
843844
{
844845
STDEXEC_THROW(__assertion_failure{});

0 commit comments

Comments
 (0)