rust/src/test/auxiliary
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
..
ambig_impl_2_lib.rs test: Fix tests. rs=tests 2013-03-13 20:08:35 -07:00
anon-extern-mod-cross-crate-1.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
anon_trait_static_method_lib.rs rpass/cfail: Update field privacy where necessary 2014-03-31 15:47:36 -07:00
cci_borrow_lib.rs test: De-export aux, bench, compile-fail, and run-fail. rs=deexporting 2013-01-30 15:08:45 -08:00
cci_capture_clause.rs std: Rename Chan/Port types and constructor 2014-03-13 13:23:29 -07:00
cci_class.rs rpass/cfail: Update field privacy where necessary 2014-03-31 15:47:36 -07:00
cci_class_2.rs rpass/cfail: Update field privacy where necessary 2014-03-31 15:47:36 -07:00
cci_class_3.rs rpass/cfail: Update field privacy where necessary 2014-03-31 15:47:36 -07:00
cci_class_4.rs rpass/cfail: Update field privacy where necessary 2014-03-31 15:47:36 -07:00
cci_class_5.rs rpass/cfail: Update field privacy where necessary 2014-03-31 15:47:36 -07:00
cci_class_6.rs rpass/cfail: Update field privacy where necessary 2014-03-31 15:47:36 -07:00
cci_class_cast.rs rpass/cfail: Update field privacy where necessary 2014-03-31 15:47:36 -07:00
cci_class_trait.rs test: Residual de-muting of the test suite. rs=demuting 2013-02-25 15:15:20 -08:00
cci_const.rs librustc: Remove the const declaration form everywhere 2013-03-22 22:24:35 -07:00
cci_impl_lib.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
cci_intrinsic.rs std: Make the generic atomics take unsafe pointers 2014-03-20 13:33:43 -07:00
cci_iter_lib.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
cci_nested_lib.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
cci_no_inline_lib.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
cfg_inner_static.rs Ensure that skipped items aren't encoded 2013-09-26 13:54:50 -07:00
changing-crates-a1.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
changing-crates-a2.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
changing-crates-b.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
coherence_inherent_cc_lib.rs Fix bug in coherence that causes all cross-crate impls to be regarded as 2013-03-06 11:02:19 -05:00
crate-method-reexport-grrrrrrr2.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
crateresolve1-1.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
crateresolve1-2.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
crateresolve1-3.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
crateresolve2-1.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
crateresolve2-2.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
crateresolve2-3.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
crateresolve3-1.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
crateresolve3-2.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
crateresolve4a-1.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
crateresolve4a-2.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
crateresolve4b-1.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
crateresolve4b-2.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
crateresolve5-1.rs Replace all ~"" with "".to_owned() 2014-04-18 17:25:34 -07:00
crateresolve5-2.rs Replace all ~"" with "".to_owned() 2014-04-18 17:25:34 -07:00
crateresolve7x.rs Remove check-fast. Closes #4193, #8844, #6330, #7416 2014-04-06 15:55:43 -07:00
crateresolve8-1.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
crateresolve_calories-1.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
crateresolve_calories-2.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
default_type_params_xc.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
explicit_self_xcrate.rs rpass/cfail: Update field privacy where necessary 2014-03-31 15:47:36 -07:00
extern-crosscrate-source.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
extern_calling_convention.rs Don't use win64 calling convention on 32-bit machines. 2013-11-19 12:46:28 -05:00
extern_mod_ordering_lib.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
foreign_lib.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
impl_privacy_xc_1.rs Test fixes from rollup 2014-04-04 15:57:45 -07:00
impl_privacy_xc_2.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
inherit_struct_lib.rs Allow inheritance between structs. 2014-04-20 13:41:18 +12:00
inline_dtor.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
inner_static.rs Remove __extensions__ in names for a "pretty name" 2013-09-02 23:12:41 -07:00
iss.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
issue-2380.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
issue-2414-a.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
issue-2414-b.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
issue-2526.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
issue-2631-a.rs Replace all ~"" with "".to_owned() 2014-04-18 17:25:34 -07:00
issue-3012-1.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
issue-4208-cc.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
issue-4545.rs Add tests and un-xfail a few issues 2013-10-10 18:48:52 -07:00
issue-5518.rs test: Add tests for closed issues 2014-04-27 20:35:51 -07:00
issue-5521.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
issue-7178.rs Adding tests for closed issues 2013-12-18 09:12:04 -08:00
issue-7899.rs Switch some tuple structs to pub fields 2014-03-31 19:50:51 -07:00
issue-8044.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
issue-8259.rs Adding tests for closed issues 2013-12-18 09:12:04 -08:00
issue-9906.rs Remove check-fast. Closes #4193, #8844, #6330, #7416 2014-04-06 15:55:43 -07:00
issue-9968.rs Propagate reachability through reexported impls 2013-10-21 10:37:36 -07:00
issue-10028.rs test: Add some tests for closed issues 2014-03-06 10:45:08 -08:00
issue-11224.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
issue-11225-1.rs Conservatively export all trait methods and impls 2013-12-31 12:42:13 -08:00
issue-11225-2.rs Conservatively export all trait methods and impls 2013-12-31 12:42:13 -08:00
issue-11508.rs Switch some tuple structs to pub fields 2014-03-31 19:50:51 -07:00
issue-11529.rs Switch some tuple structs to pub fields 2014-03-31 19:50:51 -07:00
issue-11908-1.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
issue-11908-2.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
issue-12133-dylib.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
issue-12133-rlib.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
issue-12612-1.rs rustc: Disallow importing through use statements 2014-04-10 15:22:00 -07:00
issue-12612-2.rs rustc: Disallow importing through use statements 2014-04-10 15:22:00 -07:00
issue-13560-1.rs rustc: Don't allocate a cnum to syntax crates 2014-04-16 11:42:22 -07:00
issue-13560-2.rs rustc: Don't allocate a cnum to syntax crates 2014-04-16 11:42:22 -07:00
issue-13560-3.rs rustc: Don't allocate a cnum to syntax crates 2014-04-16 11:42:22 -07:00
issue2170lib.rs switch Drop to &mut self 2013-09-16 22:19:23 -04:00
issue2378a.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
issue2378b.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
issue13213aux.rs Replace all ~"" with "".to_owned() 2014-04-18 17:25:34 -07:00
issue13507.rs Fixes #13507 2014-04-14 17:39:52 -07:00
issue_2242_a.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
issue_2242_c.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
issue_2316_a.rs Reliciense makefiles and testsuite. Yup. 2012-12-10 17:32:58 -08:00
issue_2316_b.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
issue_2472_b.rs Switch some tuple structs to pub fields 2014-03-31 19:50:51 -07:00
issue_2723_a.rs Removed deprecated functions map and flat_map for vectors and slices. 2014-03-30 03:47:04 +02:00
issue_3136_a.rc Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
issue_3136_a.rs add gitattributes and fix whitespace issues 2013-05-03 20:01:42 -04:00
issue_3907.rs Add a bunch of tests for closed issues 2013-08-13 21:32:34 -07:00
issue_3907_1.rs Added tests to make tidy 2014-02-07 12:49:24 -06:00
issue_3979_traits.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
issue_5844_aux.rs Fix fallout from std::libc separation 2014-04-04 09:31:44 -07:00
issue_8401.rs Add even more tests 2013-08-15 14:22:36 -07:00
issue_9123.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
issue_9155.rs Close out #9155 2013-10-03 00:15:54 -07:00
issue_9188.rs Guarantee that statics have unique names 2013-09-14 23:19:11 -07:00
issue_10031_aux.rs Switch some tuple structs to pub fields 2014-03-31 19:50:51 -07:00
kinds_in_metadata.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
lang-item-public.rs Fix some windows rpass tests 2014-04-07 09:29:42 -07:00
linkage-visibility.rs Reduce the aggressiveness of reachability 2013-10-31 20:47:23 -07:00
linkage1.rs Fix linkage1 test which fails due to --as-needed 2014-03-18 13:48:12 -07:00
lint_stability.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
logging_right_crate.rs Fix inner attribute syntax from #[foo]; to #![foo] 2014-04-04 13:22:57 -07:00
macro_crate_def_only.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
macro_crate_outlive_expansion_phase.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
macro_crate_test.rs syntax: unify all MacResult's into a single trait. 2014-04-16 17:53:27 +10:00
macro_export_inner_module.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
moves_based_on_type_lib.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
nested_item.rs Correctly encode item visibility in metadata 2013-09-24 09:57:25 -07:00
newtype_struct_xc.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
no_std_crate.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
noexporttypelib.rs test: Fix a bunch of compile-fail tests. rs=bustage 2012-12-28 19:36:35 -08:00
overloaded_autoderef_xc.rs rpass/cfail: Update field privacy where necessary 2014-03-31 15:47:36 -07:00
packed.rs Added tests to make tidy 2014-02-07 12:49:24 -06:00
priv-impl-prim-ty.rs Fix a bug in exporting trait implementations 2013-12-03 15:15:17 -08:00
privacy-struct-variant.rs name struct in "field ... is private" error 2014-04-06 02:37:25 +02:00
privacy-tuple-struct.rs rustc: Switch tuple structs to have private fields 2014-03-31 18:59:46 -07:00
privacy_reexport.rs Move more of the exportation burden into privacy 2013-11-22 10:02:10 -08:00
private_trait_xc.rs Disallow implementation of cross-crate priv traits 2014-01-18 10:58:01 -08:00
pub_use_mods_xcrate.rs add gitattributes and fix whitespace issues 2013-05-03 20:01:42 -04:00
pub_use_xcrate1.rs rpass/cfail: Update field privacy where necessary 2014-03-31 15:47:36 -07:00
pub_use_xcrate2.rs extern mod => extern crate 2014-02-14 22:55:21 -08:00
reexport-should-still-link.rs Use the result of privacy for reachability 2013-10-10 03:31:59 -07:00
reexported_static_methods.rs Replace all ~"" with "".to_owned() 2014-04-18 17:25:34 -07:00
static-function-pointer-aux.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
static-methods-crate.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
static_fn_inline_xc_aux.rs remove the float type 2013-10-01 14:54:10 -04:00
static_fn_trait_xc_aux.rs Added tests to make tidy 2014-02-07 12:49:24 -06:00
static_mut_xc.rs Added tests to make tidy 2014-02-07 12:49:24 -06:00
static_priv_by_default.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
struct-field-privacy.rs rpass/cfail: Update field privacy where necessary 2014-03-31 15:47:36 -07:00
struct_destructuring_cross_crate.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
struct_variant_xc_aux.rs rpass/cfail: Update field privacy where necessary 2014-03-31 15:47:36 -07:00
syntax-extension-with-dll-deps-1.rs rustc: Add search paths to dylib load paths 2014-04-29 18:58:39 -07:00
syntax-extension-with-dll-deps-2.rs rustc: Add search paths to dylib load paths 2014-04-29 18:58:39 -07:00
trait_default_method_xc_aux.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
trait_default_method_xc_aux_2.rs rpass/cfail: Update field privacy where necessary 2014-03-31 15:47:36 -07:00
trait_impl_conflict.rs Check for trait impl conflicts across crates 2014-02-05 08:50:05 +13:00
trait_inheritance_auto_xc_2_aux.rs rpass/cfail: Update field privacy where necessary 2014-03-31 15:47:36 -07:00
trait_inheritance_auto_xc_aux.rs Disallow implementation of cross-crate priv traits 2014-01-18 10:58:01 -08:00
trait_inheritance_cross_trait_call_xc_aux.rs rpass/cfail: Update field privacy where necessary 2014-03-31 15:47:36 -07:00
trait_inheritance_overloading_xc.rs rpass/cfail: Update field privacy where necessary 2014-03-31 15:47:36 -07:00
trait_superkinds_in_metadata.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
trait_typedef_cc.rs Reliciense makefiles and testsuite. Yup. 2012-12-10 17:32:58 -08:00
typeid-intrinsic.rs std: Move intrinsics to std::intrinsics. 2014-02-23 01:07:53 -08:00
typeid-intrinsic2.rs std: Move intrinsics to std::intrinsics. 2014-02-23 01:07:53 -08:00
unreachable-variant.rs rustc: Remove private enum variants 2014-04-16 08:12:43 -07:00
use_from_trait_xc.rs Added tests to make tidy 2014-02-07 12:49:24 -06:00
xc_private_method_lib.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
xcrate-trait-lifetime-param.rs encode trait lifetime params in metadata to allow cross-crate usage 2013-12-08 18:09:31 -05:00
xcrate_address_insignificant.rs Prevent a rare linkage issue with an xcrate static 2013-09-17 11:24:05 -07:00
xcrate_static_addresses.rs Remove std::condition 2014-02-06 15:48:56 -08:00
xcrate_unit_struct.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30