hackndev / zinc

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

Add default targets to examples #376

Closed WizardUli closed 8 years ago

WizardUli commented 8 years ago

Besides adding default targets I also added symlinks to JSON target specs. I'm not sure whether it is the most correct way but it enables building the examples out of box. User doesn't have to tediously create them and there is no problem having multiple targets (symlinks) in one example (e.g. as in the empty example).

There is also possibility of setting RUST_TARGET_PATH to the folder with target specs. This doesn't allow building out of box but the user doesn't have to create new symlink for each example she/he wants to build.

coveralls commented 8 years ago

Coverage Status

Coverage decreased (-0.07%) to 90.397% when pulling 7af26072d0e2935bfe6ffac4d8848eff0cbd218a on Grawp:master into 45123e4e3c8211fd9a356261e3e3e99857201b08 on hackndev:master.

farcaller commented 8 years ago

Thanks for the contribution!