Nimx also uses it's own [inlined version of 
stb_image](https://github.com/yglukhov/nimx/blob/master/nimx/load_image_impl.nim),
 but it inlines it with `#define STB_IMAGE_STATIC`, so that C symbols remain 
hidden, and only nim symbols are visible and get their proper mangling. The 
most proper way for us nim users would likely be using a dedicated [stb_image 
nim wrapper](https://gitlab.com/define-private-public/stb_image-Nim), which 
unfortunately has some issues too at this point :)

@Araq I don't think hashing C files will save the day, as (e.g.) different 
versions of stb_* can be used, so the hashes will differ, and you'll get the C 
symbols collision anyway.

Reply via email to