cc-rs
cc-rs copied to clipboard
Add {i686,x86_64}-redhat-linux prefixes
Fedora doesn't have x86_64-linux-gnu-*, instead it has x86_64-redhat-linux-*. This patch adds them to the detection, enabling out-of-the-box support for compiling 32-bit on both 64-bit and 32-bit Fedora.
I tested this on 64-bit Fedora 35 and on 32-bit Fedora 36 mock.