Closed
Description
Right now it's very ad-hoc, with users specifying link_args of unspecified format, tied to C compiler implementation, propogating linker arguments between crates. It's a mess. If we don't fix this we're going to end up tied to arbitrary, platform-specific C compiler semantics. Rust should have some sort of linker model baked in that just works for most common cases.