armadillo icon indicating copy to clipboard operation
armadillo copied to clipboard

Windows export and integer size issues

Open charlesastaylor opened this issue 9 months ago • 0 comments

Hey 👋🏼

I've been using your library on windows (and other platforms!) linked statically to a jai program.

To get it working initially I had to add __declspec(dllexport) on the api functions so linker can find them.

I have now found that there are issues with sizes of integer types in the windows build 🙄. The one I know about is unsigned long PC parameter for ArmadilloDisassemble is being treated as u32, not u64. There may be other similar cases of integers being truncated.

I'm going to be fixing this for myself, as you say you're not taking contributions, here is a suggestion instead!

charlesastaylor avatar Jul 17 '25 19:07 charlesastaylor