pub fn setup_linker()
Expand description
Linking executables (including tests) with Cargo that link to Qt fails to link with GNU ld.bfd, which is the default on most Linux distributions, so use GNU ld.gold, lld, or mold instead. If you are using a C++ build system such as CMake to do the final link of the executable, you do not need to call this function.
With Apple devices we set -fapple-link-rtlib as we build with -nodefaultlibs otherwise we cannot user helpers from the compiler runtime in Qt
This does nothing on non-Unix platforms.