Commit 093110e
Use regex allowlist so pinned vendor and master both build
The previous `allowlist_type("rbs_ast_ruby_annotations_t")` relied on
bindgen's transitive allowlisting through the union. That works against
the current master (where the union lists all 14 annotation members
after auto-generation), but CI vendors the pinned v4.0.2 tag via
`rake rust:rbs:sync`, whose union only has 6 members. The other 7
annotation structs referenced by ruby-rbs therefore never appeared in
bindings.rs, breaking `cargo test`.
Switch to the regex `rbs_ast_ruby_annotations_.*` which matches every
annotation struct directly (and still includes the union itself) in
both the pinned vendor and the current master, preserving the
auto-follow property intended by this PR.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 1207c7b commit 093110e
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
108 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
109 | 110 | | |
110 | 111 | | |
111 | 112 | | |
| |||
0 commit comments