nodrop: Add nightly feature use_union

Use a separate crate (nodrop-union) so that we can conditionally use the
new union keyword without disrupting compatibility.
This commit is contained in:
bluss
2016-09-06 11:21:40 +02:00
parent ddd09cf04d
commit 57348a2677
5 changed files with 287 additions and 109 deletions
+3
View File
@@ -13,6 +13,9 @@ matrix:
- rust: nightly
env:
- NODROP_FEATURES='use_needs_drop'
- rust: nightly
env:
- NODROP_FEATURES='use_union'
branches:
only:
- master