Remove #[cfg(all())] workarounds from c_char
#112490
Merged
#[cfg(all())] workarounds from c_char
#112490