cc-rs icon indicating copy to clipboard operation
cc-rs copied to clipboard

Chore: Refactor large-if/match: Extract array out of them

Open NobodyXu opened this issue 6 months ago • 0 comments

Currently there're a few huge if/match block for targets cc supports.

Having large if/match is hard to read, it also increases compilation time/binary size generated.

By extracting them out as an array, it would be simpler to read, edit, and faster to compile with smaller binary size.

NobodyXu avatar Feb 24 '24 03:02 NobodyXu