summaryrefslogtreecommitdiffstats
path: root/tests/rust/cfg.toml
blob: 4d6c4caa6d3551d28a87a68bf8c2b66d82e974a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
header = """
#if 0
DEF PLATFORM_UNIX = 0
DEF PLATFORM_WIN = 0
DEF X11 = 0
DEF M_32 = 0
#endif
"""

[defines]
"unix" = "PLATFORM_UNIX"
"windows" = "PLATFORM_WIN"
"x11" = "X11"
"target_pointer_width = 32" = "M_32"

[enum]
derive_tagged_enum_destructor = true
derive_tagged_enum_copy_constructor = true
derive_tagged_enum_copy_assignment = true
derive_helper_methods = true
private_default_tagged_enum_constructor = true

[struct]
derive_eq = true
derive_neq = true