about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-12-31 09:51:50 -0800
committerbors <bors@rust-lang.org>2013-12-31 09:51:50 -0800
commit5ff7b283731b795930d1e6782ae1639c83595e91 (patch)
treebf0dbc0a753240390aba77c64729505144592081 /src/rustllvm/RustWrapper.cpp
parent250ca0eb85ca7bf4497cdf68ecbaa5f90dc7439d (diff)
parent726091fea5ab7663c6e7c7cfdde015afc0065e46 (diff)
downloadrust-5ff7b283731b795930d1e6782ae1639c83595e91.tar.gz
rust-5ff7b283731b795930d1e6782ae1639c83595e91.zip
auto merge of #11208 : alexcrichton/rust/less-c, r=cmr
Right now on linux, an empty executable with LTO still depends on librt becaues
of the clock_gettime function in rust_builtin.o, but this commit moves this
dependency into a rust function which is subject to elimination via LTO.

At the same time, this also drops libstd's dependency on librt on unices that
are not OSX because the library is only used by extra::time (and now the
dependency is listed in that module instead).
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions