Closed Rantanen closed 5 years ago
We probably can't have this for a while so we might end up going with com_library!(...)
macro instead. It's not as neat (as it's not that clear that it really affects the whole crate), but at least it should work.
The current workaround is a bit ugly (See testlib\src\lib.rs in #89).
The
#[com_library]
should be a crate level attribute. Currently it is not, because I had trouble making it such due to hygiene issues or some such.Once we get syn 0.12 in, we should try to turn it into a crate level attribute again.