hackndev / zinc

The bare metal stack for rust
zinc.rs
Apache License 2.0
1k stars 100 forks source link

Fixes for rust nightly changes #337

Closed mokus0 closed 9 years ago

mokus0 commented 9 years ago

As described at https://github.com/rust-lang/rfcs/pull/1184, rustc nightly now automatically imports core when using no_std

mokus0 commented 9 years ago

Working on a few more updates, looks like things have changed even more since the nightly i did this fix for...

mokus0 commented 9 years ago

Doesn't build cleanly due to rlibc, and I'm not currently set up to run the full travis test suite, but builds on my system as of today with rustc 1.4.0-nightly (f05b22efb 2015-08-15). There are a few more deprecation and unused-feature warnings, but I'm not 100% on those whether the right thing is to remove them, conditionalize them, or replace them with something else to achieve the same ends.

farcaller commented 9 years ago

can you please add std::hash::hash fixe there? (see travis)

farcaller commented 9 years ago

and thanks for getting us back on green again :smile:

mokus0 commented 9 years ago

sure, looking into it now

mcoffin commented 9 years ago

This will fix #336

mokus0 commented 9 years ago

One more down. Looks like the "core" crate will need to be conditionally included for the "native" build. Gotta get some dinner and put the kids down for bed, but I'll fix that next.

mokus0 commented 9 years ago

Ok, all green :)

farcaller commented 9 years ago

Thanks!