c2rust
c2rust copied to clipboard
Handle hidden visibility symbols
Many C projects build their code with -fvisibility=hidden
, makes top-level globals internal to the binary or library. The closest thing in Rust is pub(crate)
, so we should use that for hidden-visibility globals.