about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-02-19 15:39:25 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-02-25 09:22:24 -0800
commit1b3b273f802a546c681bbef74fcb3196a6bbc0ef (patch)
tree80bd1b53a830c5b657cc5c599f2b9fe5d1fbdf08 /src/rustllvm/ExecutionEngineWrapper.cpp
parent34a224f4a1144c99cedbff9c0493d57037739d35 (diff)
downloadrust-1b3b273f802a546c681bbef74fcb3196a6bbc0ef.tar.gz
rust-1b3b273f802a546c681bbef74fcb3196a6bbc0ef.zip
Add a method of manually specifying the crate map
Apparently weak linkage and dlopen aren't quite working out for applications
like servo on android. There appears to be a bug or two in how android loads
dynamic libraries and for some reason libservo.so isn't being found.

As a temporary solution, add an extern "C" function to libstd which can be
called if you have a handle to the crate map manually. When crawling the crate
map, we then check this manual symbol before falling back to the old solutions.

cc #11731
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions