third_party_rust_cxx/tests/ffi
David Tolnay 468063fb69
Add failing test of extern enum used as struct field
Currently fails with:

    error[cxxbridge]: needs a cxx::ExternType impl in order to be used as a field of `Second`
        ┌─ lib.rs:222:9
        │
    222 │         type COwnedEnum;
        │         ^^^^^^^^^^^^^^^ needs a cxx::ExternType impl in order to be used as a field of `Second`

which is wrong because the bridge should know it's producing a
compatible ExternType impl for this type.
2020-11-19 14:56:58 -08:00
..
build.rs Combine 'extra' and 'module' modules in test suite 2020-11-19 14:22:59 -08:00
Cargo.toml Specify consistent c++ standard between cxx and cxx-test-suite 2020-08-28 17:36:33 -07:00
lib.rs Add failing test of extern enum used as struct field 2020-11-19 14:56:58 -08:00
module.rs Combine 'extra' and 'module' modules in test suite 2020-11-19 14:22:59 -08:00
tests.cc Restrict extern Rust types to unique local types for now 2020-11-17 08:01:08 -08:00
tests.h Introduce pins in test suite 2020-11-15 16:13:15 -08:00