rust/src/librustc/metadata
Alex Crichton 1a367c62cd rustc: Add search paths to dylib load paths
When a syntax extension is loaded by the compiler, the dylib that is opened may
have other dylibs that it depends on. The dynamic linker must be able to find
these libraries on the system or else the library will fail to load.

Currently, unix gets by with the use of rpaths. This relies on the dylib not
moving around too drastically relative to its dependencies. For windows,
however, this is no rpath available, and in theory unix should work without
rpaths as well.

This modifies the compiler to add all -L search directories to the dynamic
linker's set of load paths. This is currently managed through environment
variables for each platform.

Closes #13848
2014-04-29 18:58:39 -07:00
..
common.rs auto merge of #13584 : rcxdude/rust/cross-syntax-ext, r=alexcrichton 2014-04-23 13:11:37 -07:00
creader.rs Enable use of syntax extensions when cross compiling. 2014-04-23 20:33:54 +01:00
csearch.rs Enable use of syntax extensions when cross compiling. 2014-04-23 20:33:54 +01:00
cstore.rs rustc: de-@ metadata::cstore. 2014-04-22 19:06:54 +03:00
decoder.rs auto merge of #13584 : rcxdude/rust/cross-syntax-ext, r=alexcrichton 2014-04-23 13:11:37 -07:00
encoder.rs auto merge of #13584 : rcxdude/rust/cross-syntax-ext, r=alexcrichton 2014-04-23 13:11:37 -07:00
filesearch.rs rustc: Add search paths to dylib load paths 2014-04-29 18:58:39 -07:00
loader.rs Cleaned up os::consts. The module only exposes constants for the target OS and arch. 2014-04-25 00:38:05 -04:00
mod.rs
tydecode.rs add support for quadruple precision floating point 2014-04-22 20:47:28 -04:00
tyencode.rs add support for quadruple precision floating point 2014-04-22 20:47:28 -04:00