help wanted
仓库指标
- 星标
- (4,472 个星标)
- PR 合并指标
- (平均合并 8分钟) (30 天内合并 3 个 PR)
描述
In the Rust code generator we currently emit some shims that do nothing more than cast between smart pointers and raw pointers and then dispatch to the appropriate extern "C" function.
These shims should probably be marked #[inline] so that callers are able to directly call the extern "C" function themselves, but ideally I'd like at least one performance measurement showing a benefit before going forward with the change.