Skip to content

fix: add inline to constexpr vars and extern C to _mm_pause for C++ module compat#2030

Open
guptapratykshh wants to merge 1 commit intoNVIDIA:mainfrom
guptapratykshh:fix/hpx-module-compat
Open

fix: add inline to constexpr vars and extern C to _mm_pause for C++ module compat#2030
guptapratykshh wants to merge 1 commit intoNVIDIA:mainfrom
guptapratykshh:fix/hpx-module-compat

Conversation

@guptapratykshh
Copy link
Copy Markdown

Add inline to namespace-scope constexpr variable definitions in__any.hpp, __config.hpp, __query.hpp, __utility.hpp, __let.hpp,and __meta.hpp to prevent duplicate symbol errors when multiple C++ module
units include the same stdexec headers. Also add extern "C" to the_mm_pause declaration in stop_token.hpp to match the C linkage expected by MSVC's intrinsic headers in module builds

…odule compat

Signed-off-by: guptapratykshh <pratykshgupta9999@gmail.com>
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot bot commented Apr 17, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@ericniebler
Copy link
Copy Markdown
Collaborator

/ok to test 66700f0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants