Seems like #892 is back. I once submitted a patch in #839 and that worked for me at the time, but after an update to cc v1.2.15 I'm having the same issues again. I'm on wasm32-unknown-unknown and using .flag_if_supported("-Wno-unused-parameter") doesn't add the flag even though it's supported.