about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-11-11 16:11:22 -0800
committerbors <bors@rust-lang.org>2013-11-11 16:11:22 -0800
commitc0b7972f7d63e4b55098797cb48949b00d3ffee7 (patch)
treed73361e59d704339a9dd2f2e68d23da09b5a00de /src/rustllvm/RustWrapper.cpp
parent88e383ef1e702666159bdc899d81e30927479501 (diff)
parent2eb92b77a97b5657919d636700d72f7578af2a4f (diff)
downloadrust-c0b7972f7d63e4b55098797cb48949b00d3ffee7.tar.gz
rust-c0b7972f7d63e4b55098797cb48949b00d3ffee7.zip
auto merge of #10422 : alexcrichton/rust/explicit-crate-map, r=pcwalton
As we start to move runtime components into the crate map, it's becoming harder
and harder to start the runtime from a C function as rust is embedded in another
application. Right now if you compile a rust crate as a dynamic library which is
then linked to another application, when using std::rt::start there are no I/O
local services, even though rustuv was linked against and requested. The reason
for this is that there is no top level crate map available specifying where to
find libuv I/O.

This option is not meant to be used regularly, but rather whenever compiling a
final library crate and linking it into another application. This lifts the
requirement that to get a crate map you must have the final destination be an
executable.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions