Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider a generic way to support pass through attributes in cxx-qt-gen #1132

Open
ahayzen-kdab opened this issue Nov 18, 2024 · 0 comments
Open
Labels
🥳🎉 1.0 This issue is part of stabilization for 1.0 release

Comments

@ahayzen-kdab
Copy link
Collaborator

We need to be able to pass through attributes such as

  • cfg
  • doc
  • allow
  • deny
  • etc

On many different elements in the original bridge macro. We should consider if there is a more generic way of doing this in the parser and generator phases with a generic type / mapping. Also see what attributes CXX is supporting https://github.com/dtolnay/cxx/blob/547a0edcf79cca2dad3f835ba736cfb85e93b1e5/syntax/attrs.rs#L286 https://github.com/dtolnay/cxx/blob/547a0edcf79cca2dad3f835ba736cfb85e93b1e5/macro/src/derive.rs#L17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🥳🎉 1.0 This issue is part of stabilization for 1.0 release
Projects
None yet
Development

No branches or pull requests

1 participant