@_expose(wasm) not working when declared in imported module

@_expose(wasm, "deallocUnowned")
public func _dealloc_unowned(_ pointer: UnsafeMutableRawPointer) { pointer.deallocate() }

This function is not exposed to wasm.