about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-12-29 20:09:40 -0800
committerAlex Crichton <alex@alexcrichton.com>2013-12-30 14:35:55 -0800
commit726091fea5ab7663c6e7c7cfdde015afc0065e46 (patch)
tree7f67c8eb6b5428e12f88e219015598b210ede0b7 /src/rustllvm/RustWrapper.cpp
parentaa5d779a3590b1ed1559e0489138040a71ae688b (diff)
downloadrust-726091fea5ab7663c6e7c7cfdde015afc0065e46.tar.gz
rust-726091fea5ab7663c6e7c7cfdde015afc0065e46.zip
Convert some C functions to rust functions
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