Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c6eda2c0 authored by Martin Geisler's avatar Martin Geisler
Browse files

pdl: Generate snapshots using prettyplease

The prettyplease library has been explicitly designed to be used for
programmatic formatting of Rust code. It is faster and simpler to use
than calling ‘rustfmt’.

Because ‘prettyplease’ sometimes uses a slightly different formatting
compared to ‘rustfmt’, I’m adding a ‘#![rustfmt::skip]’ like to the
top of every auto-generated file.

Tag: #refactor
Bug: 274187738
Test: atest pdl_tests pdl_rust_generator_tests_{le,be}
Change-Id: Ifd74db6c6bd06b020960d586ca803a26a4603c2d
parent fec3d3ff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment