eac0a8bc30
Have all Cargo-built crates pass `--cfg cargobuild` and then add appropriate `#[cfg]` definitions to all crates to avoid linking anything if this is passed. This should help allow libstd to compile with both the makefiles and with Cargo. |
||
---|---|---|
.. | ||
collections | ||
ffi | ||
io | ||
net | ||
num | ||
os | ||
prelude | ||
rand | ||
sync | ||
sys | ||
thread | ||
time | ||
ascii.rs | ||
build.rs | ||
Cargo.toml | ||
dynamic_lib.rs | ||
env.rs | ||
error.rs | ||
fs.rs | ||
lib.rs | ||
macros.rs | ||
memchr.rs | ||
panic.rs | ||
panicking.rs | ||
path.rs | ||
primitive_docs.rs | ||
process.rs | ||
rt.rs | ||
rtdeps.rs |