Skip to content

Add the ability to strip data #304

Open
@zesterer

Description

I'm writing code that's making considerable use of LUTs generated inline via const code. As a result, I end up with the LUT data being displayed inline with the code, which is often many thousands of times larger than the code itself. It would be useful to have the option to strip data or - even better - data over a specific length from the output.

EDIT:

For anybody with a similar problem, my solution for now is:

cargo asm ... | grep -v "asciz"

which strips all lines containing asciz from the output (if your assembly language uses another keyword to denote data, use that instead). You will also want to add --color to the cargo command to retain colour output.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions