On 12/21/2017 09:24 PM, Enrico Weigelt, metux IT consult via dev-servo
wrote:
Seems it's pretty unfinished yet. Maybe it effectively disables
the feature (which a pref also would do), but IMHO most of the code
is still in there.
But my goals getting rid of everything I don't need/want.
Again, I never claim my patch was complete. It's a decent temporary
hack, nothing more.
One thing that's bothering me is that these things seem to be a bit
tricky to decouple due to lack of forward declarations - in C/C++ we
could just use forward declarations everywhere we just need a pointer
to some struct/class and include the actual definition only where
we actually access it - in that case the allocator of some compiled-
out class could just be a NULL-returning dummy ...
Any idea how to solve this rust ?
That's because you think with a c/c++ mindset. Things are different in
Rust, I'm quite sure we can do something nice with traits.
bluetooth_traits is still compiled, yes. I think bluetooth is not
anymore since my issue was to not bring in the android impl that
doesn't work on my android-like-but-not-really platform.
Which platform exactly is that ?
It's Gonk.
Fabrice
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo