We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5905577 commit 6715f52Copy full SHA for 6715f52
c-bindings-gen/src/types.rs
@@ -134,7 +134,7 @@ pub fn export_status(attrs: &[syn::Attribute]) -> ExportStatus {
134
match token_iter.next().unwrap() {
135
TokenTree::Literal(lit) => {
136
let line = format!("{}", lit);
137
- if line.contains("(C-not exported)") {
+ if line.contains("(C-not exported)") || line.contains("This is not exported to bindings users") {
138
return ExportStatus::NoExport;
139
} else if line.contains("(C-not implementable)") {
140
return ExportStatus::NotImplementable;
0 commit comments