https://github.com/rust-lang/cc-rs/pull/671#issuecomment-1150326799 This is a more sensible way of accomplishing that.