This is required in rustc to resolve symlinks for utilities such as the sysroot and the rpath values which are encoded into binaries.