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

Commit 418cd123 authored by Martin Geisler's avatar Martin Geisler
Browse files

pdl: Remove rustfmt from no_alloc test

The no_alloc backend used rustfmt for an intermediate file generated
as part of a unit test. We plan to remove this backend, so the
formatting of this file is not critical.

Tag: #refactor
Bug: 274187738
Test: atest pdl_rust_noalloc_le_test
Change-Id: I3c7739a7c7ceeb447aa1b82890ec62d5c0e87276
parent 441c3b16
Loading
Loading
Loading
Loading
+2 −7
Original line number Diff line number Diff line
@@ -381,13 +381,8 @@ python_test_host {
// Defaults for the rust_noalloc backend
genrule_defaults {
    name: "pdl_rust_noalloc_generator_defaults",
    cmd: "set -o pipefail;" +
        " $(location :pdl) --output-format rust_no_alloc $(in) |" +
        " $(location :rustfmt) > $(out)",
    tools: [
        ":pdl",
        ":rustfmt",
    ],
    cmd: "$(location :pdl) --output-format rust_no_alloc $(in) > $(out)",
    tools: [":pdl"],
}

// Generate the rust_noalloc backend srcs against the little-endian test vectors