Olivier Goffart
f74c801b59
Fix a bunch of warning in the generated rust
2020-06-17 10:26:20 +02:00
Olivier Goffart
064db5aa5b
const-field-offset: Add a way to specify the crate name
2020-06-16 13:47:02 +02:00
Olivier Goffart
34931e58c0
Polishing of the documentation
2020-06-08 17:57:18 +02:00
Olivier Goffart
68cea2aeec
Fix soundness hole in FieldOffset
...
This was cause by the change to allow to create FieldOffset in const constext
because a Fn(T)->U is not allowed in a const constext.
But we need to be contravariant in T.
2020-05-18 11:06:44 +02:00
Olivier Goffart
751a3fbe59
Work on const field offset crate to give type safe offsets
2020-05-18 11:06:44 +02:00
Olivier Goffart
7d1394e349
Add a viewer tool
2020-05-12 19:19:25 +02:00
Olivier Goffart
ecf1599d35
Silent warnings
2020-05-07 08:20:44 +02:00
Olivier Goffart
a0d9369336
Add a crate to compute the field offsets as const fn
2020-05-06 20:58:10 +02:00