c2rust icon indicating copy to clipboard operation
c2rust copied to clipboard

Handle hidden visibility symbols

Open ahomescu opened this issue 5 years ago • 0 comments

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.

ahomescu avatar Oct 09 '19 01:10 ahomescu