rustc: Flag all builtins functions as hidden
When compiling compiler-rt you typically compile with `-fvisibility=hidden`
which to ensure that all symbols are hidden in shared objects and don't show up
in symbol tables. This is important for these intrinsics being linked in every
crate to ensure that we're not unnecessarily bloating the public ABI of Rust
crates.
This should help allow the compiler-builtins project with Rust-defined builtins
start landing in-tree as well.
use abi::{Abi, FnType};
use attributes;
use context::CrateContext;
+use common;
use type_::Type;
use value::Value;
+ use syntax::attr;
use std::ffi::CString;