We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ade671 commit a9cb2d6Copy full SHA for a9cb2d6
compiler/rustc_metadata/src/native_libs.rs
@@ -54,6 +54,9 @@ pub fn walk_native_lib_search_dirs<R>(
54
// The targets here should be in sync with `copy_third_party_objects` in bootstrap.
55
// FIXME: implement `-Clink-self-contained=+/-unwind,+/-sanitizers`, move the shipped libunwind
56
// and sanitizers to self-contained directory, and stop adding this search path.
57
+ // FIXME: On AIX this also has the side-effect of making the list of library search paths
58
+ // non-empty, which is needed or the linker may decide to record the LIBPATH env, if
59
+ // defined, as the search path instead of appending the default search paths.
60
if sess.target.vendor == "fortanix"
61
|| sess.target.os == "linux"
62
|| sess.target.os == "fuchsia"
0 commit comments