libc: Prepare for movement to crates.io
libc: Prepare for movement to crates.io

This commit prepares the liblibc library to be moved to crates.io. Unlike the
log, serialize, term, etc crates, the source for this crate will *not* be
duplicated out-of-tree. Instead a new rust-lang/libc repository will be created
with a submodule to this repository and it will use the source directly.

In order to compile within the stable ecosystem of Rust, this crate cannot link
to libcore, and it also needs some tweaks for the other attributes that it has.
As a result this commit tweaks the source of the crate to link to libcore when
built in tree but link to libstd when built via cargo.

Note that the rust-lang/libc crate isn't quite prepared just yet, there's a
Cargo bug or two that I'd like to iron out before publishing it. This is simply
preparing the in-tree source.

aneeshusa/rust,mihneadb/rust,zubron/rust,rohitjoshi/rust,bombless/rust,defuz/rust,omasanori/rust,jashank/rust,avdi/rust,bombless/rust,kimroen/rust,dinfuehr/rust,dinfuehr/rust,cllns/rust,mvdnes/rust,gifnksm/rust,hauleth/rust,ktossell/rust,ruud-v-a/rust,cllns/rust,zachwick/rust,l0kod/rust,jroesch/rust,jroesch/rust,XMPPwocky/rust,richo/rust,untitaker/rust,pshc/rust,mihneadb/rust,ebfull/rust,TheNeikos/rust,AerialX/rust-rt-minimal,rohitjoshi/rust,l0kod/rust,krzysz00/rust,philyoon/rust,TheNeikos/rust,hauleth/rust,graydon/rust,carols10cents/rust,pelmers/rust,seanrivera/rust,untitaker/rust,ejjeong/rust,zachwick/rust,pshc/rust,carols10cents/rust,ktossell/rust,philyoon/rust,GBGamer/rust,GBGamer/rust,miniupnp/rust,robertg/rust,l0kod/rust,AerialX/rust-rt-minimal,GBGamer/rust,krzysz00/rust,mvdnes/rust,mvdnes/rust,KokaKiwi/rust,graydon/rust,hauleth/rust,krzysz00/rust,AerialX/rust-rt-minimal,mahkoh/rust,mihneadb/rust,bombless/rust,pelmers/rust,vhbit/rust,AerialX/rust,miniupnp/rust,vhbit/rust,hauleth/rust,pelmers/rust,robertg/rust,hauleth/rust,XMPPwocky/rust,XMPPwocky/rust,jroesch/rust,jashank/rust,mvdnes/rust,mdinger/rust,jashank/rust,aidancully/rust,gifnksm/rust,ktossell/rust,nwin/rust,aneeshusa/rust,richo/rust,aneeshusa/rust,omasanori/rust,victorvde/rust,zaeleus/rust,sae-bom/rust,aepsil0n/rust,untitaker/rust,KokaKiwi/rust,rprichard/rust,pshc/rust,GBGamer/rust,seanrivera/rust,dwillmer/rust,dwillmer/rust,seanrivera/rust,pelmers/rust,philyoon/rust,robertg/rust,XMPPwocky/rust,richo/rust,jashank/rust,reem/rust,reem/rust,AerialX/rust,aidancully/rust,zaeleus/rust,robertg/rust,omasanori/rust,avdi/rust,ebfull/rust,rohitjoshi/rust,vhbit/rust,gifnksm/rust,rprichard/rust,jroesch/rust,mdinger/rust,ebfull/rust,cllns/rust,victorvde/rust,aneeshusa/rust,mvdnes/rust,dinfuehr/rust,l0kod/rust,ebfull/rust,bombless/rust,zubron/rust,richo/rust,ejjeong/rust,aneeshusa/rust,kwantam/rust,graydon/rust,nwin/rust,reem/rust,jashank/rust,vhbit/rust,omasanori/rust,dinfuehr/rust,carols10cents/rust,avdi/rust,nwin/rust,mdinger/rust,l0kod/rust,dwillmer/rust,kimroen/rust,sae-bom/rust,ktossell/rust,aidancully/rust,jroesch/rust,kimroen/rust,TheNeikos/rust,gifnksm/rust,KokaKiwi/rust,reem/rust,ebfull/rust,vhbit/rust,mdinger/rust,zaeleus/rust,nwin/rust,zubron/rust,untitaker/rust,sae-bom/rust,aepsil0n/rust,krzysz00/rust,vhbit/rust,KokaKiwi/rust,andars/rust,zaeleus/rust,ktossell/rust,sae-bom/rust,andars/rust,miniupnp/rust,zubron/rust,philyoon/rust,krzysz00/rust,bombless/rust,mahkoh/rust,avdi/rust,aepsil0n/rust,mahkoh/rust,jroesch/rust,avdi/rust,victorvde/rust,richo/rust,dwillmer/rust,jashank/rust,ejjeong/rust,mihneadb/rust,aidancully/rust,mdinger/rust,jroesch/rust,carols10cents/rust,TheNeikos/rust,zubron/rust,mahkoh/rust,mihneadb/rust,l0kod/rust,AerialX/rust,miniupnp/rust,cllns/rust,ruud-v-a/rust,robertg/rust,kwantam/rust,graydon/rust,ebfull/rust,pshc/rust,GBGamer/rust,andars/rust,bombless/rust-docs-chinese,l0kod/rust,krzysz00/rust,philyoon/rust,andars/rust,kwantam/rust,victorvde/rust,graydon/rust,XMPPwocky/rust,defuz/rust,omasanori/rust,zubron/rust,TheNeikos/rust,nwin/rust,robertg/rust,zachwick/rust,defuz/rust,zachwick/rust,miniupnp/rust,zachwick/rust,ktossell/rust,kwantam/rust,AerialX/rust-rt-minimal,aepsil0n/rust,GBGamer/rust,defuz/rust,ruud-v-a/rust,avdi/rust,rprichard/rust,aidancully/rust,ktossell/rust,carols10cents/rust,untitaker/rust,reem/rust,andars/rust,kimroen/rust,pshc/rust,defuz/rust,aepsil0n/rust,rprichard/rust,dinfuehr/rust,rohitjoshi/rust,dwillmer/rust,untitaker/rust,mahkoh/rust,sae-bom/rust,dwillmer/rust,KokaKiwi/rust,ejjeong/rust,XMPPwocky/rust,ejjeong/rust,dinfuehr/rust,sae-bom/rust,dwillmer/rust,richo/rust,ruud-v-a/rust,AerialX/rust,pelmers/rust,victorvde/rust,nwin/rust,AerialX/rust-rt-minimal,rohitjoshi/rust,kimroen/rust,omasanori/rust,cllns/rust,AerialX/rust,defuz/rust,gifnksm/rust,aepsil0n/rust,seanrivera/rust,pelmers/rust,rohitjoshi/rust,carols10cents/rust,l0kod/rust,ejjeong/rust,dwillmer/rust,pshc/rust,GBGamer/rust,gifnksm/rust,aneeshusa/rust,hauleth/rust,jashank/rust,pshc/rust,aidancully/rust,miniupnp/rust,KokaKiwi/rust,vhbit/rust,ruud-v-a/rust,nwin/rust,zaeleus/rust,zaeleus/rust,TheNeikos/rust,vhbit/rust,zubron/rust,mahkoh/rust,jashank/rust,mvdnes/rust,graydon/rust,victorvde/rust,philyoon/rust,seanrivera/rust,kimroen/rust,reem/rust,AerialX/rust,rprichard/rust,AerialX/rust-rt-minimal,cllns/rust,GBGamer/rust,mdinger/rust,nwin/rust,mihneadb/rust,rprichard/rust,pshc/rust,miniupnp/rust,kwantam/rust,ruud-v-a/rust,bombless/rust,zachwick/rust,seanrivera/rust,miniupnp/rust,zubron/rust,kwantam/rust,kimroen/rust,andars/rust,jroesch/rust