Not exactly. AOT was finished and work well. But as I moved this module into another function, it broke down and returned an error message. I found a similar problem on this page feature_request. So right now, it seems not to be solved soon.
My code is attached below.
I don’t know of any workaround for this at the moment. You’re best bet is to use njit(cache=True) for now. However, it seems like the devs will be moving toward better portability/cross-linking support in numba in the future. But, I wouldn’t be surprised if there was a solution to this in a year or two: Proposal: Numba 2023 MVP