You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to update physx-rs to a newer version and it has a little script which uses clang-ast to generate type bindings, but running it crashes with the following:
Finished `release` profile [optimized] target(s) in 0.02s
Running `target/release/pxbind`
[2025-01-25T23:54:25Z INFO pxbind::dump] Gathering AST via clang...
[2025-01-25T23:54:27Z INFO pxbind::dump] Gathered AST in 1876ms
[2025-01-25T23:54:27Z INFO pxbind::dump] Parsing AST...
Error: failed to parse AST
Caused by:
unknown variant `AvailableOnlyInDefaultEvalMethodAttr`, expected one of `AbiTagAttr`, `AccessSpecDecl`, `AliasAttr`, `AlignedAttr`, `AllocAlignAttr`, `AllocSizeAttr`, `AlwaysInlineAttr`, `ArrayInitIndexExpr`, `ArrayInitLoopExpr`, `ArraySubscriptExpr`, `ArrayTypeTraitExpr`, `AsmLabelAttr`, `AtomicExpr`, `AtomicType`, `AttributedStmt`, `AttributedType`, `AutoType`, `AvailabilityAttr`, `BinaryConditionalOperator`, `BinaryOperator`, `BindingDecl`, ...
(and a huge long list of other variants)
I have clang 19.1.7
Is that too new?
The text was updated successfully, but these errors were encountered:
Ah, sorry about that. I was having a hard time figuring out where exactly the damn enum is defined and who's to blame. I'm gonna try again with your patch to see if that fixes it
I'm trying to update physx-rs to a newer version and it has a little script which uses clang-ast to generate type bindings, but running it crashes with the following:
(and a huge long list of other variants)
I have clang 19.1.7
Is that too new?
The text was updated successfully, but these errors were encountered: