diff --git a/native/philomena/src/zip.rs b/native/philomena/src/zip.rs index 60ef15be..47fd4977 100644 --- a/native/philomena/src/zip.rs +++ b/native/philomena/src/zip.rs @@ -18,6 +18,8 @@ pub struct WriterResource { pub type WriterResourceArc = ResourceArc; +// TODO: rustler must fix the resource macro to provide a top-level impl definiton +#[allow(non_local_definitions)] pub fn load(env: Env, _: Term) -> bool { rustler::resource!(WriterResource, env); true