Ensure that a constants cfg is preserved
When writing out constants the cfg attribute is not written out around the defined constant.
Showing
- src/bindgen/ir/constant.rs 3 additions, 1 deletionsrc/bindgen/ir/constant.rs
- tests/expectations/cfg-2.c 8 additions, 0 deletionstests/expectations/cfg-2.c
- tests/expectations/cfg-2.cpp 8 additions, 0 deletionstests/expectations/cfg-2.cpp
- tests/rust/cfg-2.rs 6 additions, 0 deletionstests/rust/cfg-2.rs
Please register or sign in to comment