+8
−0
+5
−1
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
This adds support for parsing and serializing enum fields.
The canonical test vectors work.
Tests have been added to the canonical PDL files: they demonstrate
that we can generate valid Rust code. A test was added to show that we
need “#[repr(u64)]” for an enum with a maximum discriminant.
Test: atest pdl_tests pdl_rust_generator_tests_{le,be}
Change-Id: Id65bf831ddde8ade9780f89096842ef9516cf4c3