Skip to content

Commit a9cb2d6

Browse files
committed
Add a comment
1 parent 2ade671 commit a9cb2d6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: compiler/rustc_metadata/src/native_libs.rs

+3
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ pub fn walk_native_lib_search_dirs<R>(
5454
// The targets here should be in sync with `copy_third_party_objects` in bootstrap.
5555
// FIXME: implement `-Clink-self-contained=+/-unwind,+/-sanitizers`, move the shipped libunwind
5656
// 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.
5760
if sess.target.vendor == "fortanix"
5861
|| sess.target.os == "linux"
5962
|| sess.target.os == "fuchsia"

0 commit comments

Comments
 (0)