Skip to content

builtin f32 type isn't handled #98

@jdm

Description

@jdm

I'm running ctest on Rust bindings generated by bindgen, and while an older bindgen used c_float, newer versions use f32 instead. ctest happily converts c_float to float, but f32 yields errors like:

  cargo:warning=/Users/jdm/src/rust-harfbuzz/target/debug/build/harfbuzz-sys-test-256f53a27904a18b/out/all.c:2043:18: error: unknown type name 'f32'
  cargo:warning=                 f32* __test_field_type_hb_variation_t_value(struct hb_variation_t* b) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions