-
Notifications
You must be signed in to change notification settings - Fork 318
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
thread 'main' panicked at 'BindGroupDescriptor is not generic' #573
Comments
Is this a regression? |
No - same issue on 0.14.4 |
Here is a minimal test case: pub type Foo = generic::Foo<u32>;
mod generic {
pub struct Foo<T> {
foo: T,
}
}
mod structure {
#[repr(C)]
pub struct Foo{
foo: u32
}
} Note: this only panics when the language is set to C |
I see, I think that's "just" #7... We're probably getting confused about what of the two types we're referencing. We could potentially fail more gracefully here without much issue. |
Closing as a dupe of #7... You might want to |
…andling issues Issues: * mozilla/cbindgen#7 * mozilla/cbindgen#286 * mozilla/cbindgen#573
…andling issues Issues: * mozilla/cbindgen#7 * mozilla/cbindgen#286 * mozilla/cbindgen#573
…andling issues Issues: * mozilla/cbindgen#7 * mozilla/cbindgen#286 * mozilla/cbindgen#573
Version: 0.14.5
Rust: Rust 1.46 Stable / Rust Nightly
See CI Build: https://github.com/DevOrc/wgpu-native/runs/1140985652?check_suite_focus=true
Reproduce:
Run
make ffi/wgpu.h
on https://github.com/DevOrc/wgpu-native/tree/cbindgen-issueThe text was updated successfully, but these errors were encountered: