Right now all shared declarations marked native must have a header and therefore must have an implementation for all backends. We should consider relaxing this restriction so we can have shared native implementations that only exist for a single backend (or a limited set of backends).
You'd only be able to reference these declarations from other native code for the same backend of course.
Right now all
shared
declarations markednative
must have a header and therefore must have an implementation for all backends. We should consider relaxing this restriction so we can have shared native implementations that only exist for a single backend (or a limited set of backends).You'd only be able to reference these declarations from other native code for the same backend of course.