cc-rs
cc-rs copied to clipboard
Chore: Refactor large-if/match: Extract array out of them
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.