Closed
Description
Along with #1132 once we are handling cfg everywhere we need to also ensure that our C++ calls the cfg_evaluator from the build system so that it can determine which headers / source need to be generated.
Otherwise if you have
extern "RustQt" {
#[qobject]
type MyObject = ....;
#[cfg(...)]
#[cxx_name = "method"]
fn method_a(&MyObject);
#[cfg(...)]
#[cxx_name = "method"]
fn method_b(&MyObject);
}
This fails as on the C++ side it generates two functions of void method() const noexcept
and void method() const
.
Metadata
Metadata
Assignees
Type
Projects
Status
Done