Open sgillespie opened 3 months ago
@sgillespie do we know why there was static
in there in the first place?
And even more crucially--I guess--, are we sure we don't break any existing code?
I will conceide that hsc2hs and cross has been rather ... shaky.
do we know why there was static in there in the first place?
My guess is it's what autoconf does
are we sure we don't break any existing code?
Nope, I've only confirmed it seems to work with text-icu
Here's a fix for #90. I'm not sure exactly what the consequences are for changing
static int test_array
toint test_array
, but it DOES seem to work in my tests.I've been able to successfully test cross building with text-icu with this nix flake.