Otherwise we may pick the dependency formats for say a dylib when linking a staticlib.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.