Closed flaub closed 9 years ago
I don't know how to feature gate the no_std
examples. For now they are commented out. Looks like this issue could resolve it: rust-lang/cargo#1570
+1 as it would permit rustless framework to compile with rust beta
I took the basic concepts here and adjusted them as suited me best and made 24f6c2df065ad72f9ad3579551f360d9395be8fa of it; mopa 0.2.0 is now published with this change.
Thanks!
Cool, I think I've learned a little more on exactly what a trait object is and how to interact with them. Cheers!
This allows
mopa
to work with rust 1.0.0-beta. I've tried to maintain the ability to use#[no_std]
but I have not tested this against nightly.Breaking Change
Users must now use
mopa::Any
rather thanstd::any::Any
orcore::any::Any
.