Marius Bakke <mba...@fastmail.com> skribis: > Hi Ben, > > Ben Woodcroft <donttrust...@gmail.com> writes: > >> * gnu/packages/rust.scm (rustc)[native-search-paths]: New field. > > [...] > >> + (native-search-paths >> + (list (search-path-specification >> + (variable "LIBRARY_PATH") >> + (files '("lib" "lib64"))))) > > This seems odd. This search path is for glibc, no?
It’s honored by GCC (not to be confused with LD_LIBRARY_PATH.) Does rustc invoke gcc, or does it just happen to use a same-named variable? Ludo’.