help wanted
仓库指标
- 星标
- (4,472 个星标)
- PR 合并指标
- (平均合并 8分钟) (30 天内合并 3 个 PR)
描述
We should support structs that have type parameters and translate them to an ABI-compatible class template in C++.
#[cxx::bridge]
mod ffi {
struct Generic<T> {
wow: T,
}
extern "C" {
fn f(g: Generic<String>);
}
}