I think what is going on is that rustc adds `-lc` but at a different place because its own libraries depend on libc, but it doesn't know that for external libraries.
When specifying `-Clink-arg=-libfoo.a -Clink-arg=-lc`, it seems to know that libfoo that.a also depends on the libc.
My question is, should rustc know that automatically, or is specifying it like that reasonable?
@jpakkane
I think what is going on is that rustc adds `-lc` but at a different place because its own libraries depend on libc, but it doesn't know that for external libraries.
When specifying `-Clink- arg=-libfoo. a -Clink-arg=-lc`, it seems to know that libfoo that.a also depends on the libc.
My question is, should rustc know that automatically, or is specifying it like that reasonable?