]> git.lizzy.rs Git - rust.git/commit
rustc: Switch `start_fn` to hidden visibility
authorAlex Crichton <alex@alexcrichton.com>
Tue, 26 Dec 2017 22:26:03 +0000 (14:26 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 26 Dec 2017 22:26:03 +0000 (14:26 -0800)
commit2cdd1c4df36db6a3d26d2a48afdf715e7fb6d689
tree4badf6082a49793ad62c0f836eb3ddd77f82e67b
parent81e375dba5e7915548dc6067cf16c62cdbce4853
rustc: Switch `start_fn` to hidden visibility

This'll avoid exporting a symbol from binaries unnecessarily and should help the
linker clean things up if it can.
src/librustc_mir/monomorphize/partitioning.rs