numba Segmentation fault
code:python
import sys
def foo(x):
return 1
# numba compile
print("compiling")
from numba.pycc import CC
cc = CC('my_module')
cc.export('foo', 'i8(i8:)')(foo) # b1: bool, i4: int32, i8: int64, double: f8, :, :, : cc.compile()
exit()
else:
from my_module import foo
foo(x)
OK
code:python
import numpy as np
x = np.zeros(1, dtype=np.int64)
print(foo(x))