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.
Coverage decreased (-0.07%) to 90.397% when pulling 7af26072d0e2935bfe6ffac4d8848eff0cbd218a on Grawp:master into 45123e4e3c8211fd9a356261e3e3e99857201b08 on hackndev:master.
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.