summaryrefslogtreecommitdiffstats
path: root/tests/rust/asserted_cast.toml
blob: 4ed35577cd89b71225aac32200a9ebcf1e7094db (plain)
1
2
3
4
5
6
7
8
9
10
header = """
#define MY_ASSERT(...) do { } while (0)
#define MY_ATTRS __attribute((noinline))
"""

[enum]
derive_helper_methods = true
derive_const_casts = true
derive_mut_casts = true
cast_assert_name = "MY_ASSERT"