help wanted
倉庫指標
- 星標
- (4,472 顆星)
- PR 合併指標
- (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>);
}
}