Skip to content

Commit 3e7c184

Browse files
committed
Fix rust crates
* Add `rust_name` in `config.yml` * Fix `build.rs`
1 parent 63ae39e commit 3e7c184

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -785,6 +785,7 @@ nodes:
785785
c_type: rbs_location_range
786786
optional: true
787787
- name: RBS::AST::Ruby::Annotations::ParamTypeAnnotation
788+
rust_name: ParamTypeAnnotationNode
788789
fields:
789790
- name: prefix_location
790791
c_type: rbs_location_range

rust/ruby-rbs-sys/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ fn generate_bindings(include_path: &Path) -> Result<bindgen::Bindings, Box<dyn E
112112
.allowlist_type("rbs_ast_ruby_annotations_return_type_annotation_t")
113113
.allowlist_type("rbs_ast_ruby_annotations_skip_annotation_t")
114114
.allowlist_type("rbs_ast_ruby_annotations_type_application_annotation_t")
115+
.allowlist_type("rbs_ast_ruby_annotations_param_type_annotation_t")
115116
.allowlist_type("rbs_ast_string_t")
116117
.allowlist_type("rbs_ast_symbol_t")
117118
.allowlist_type("rbs_ast_type_param_t")

0 commit comments

Comments
 (0)