Thank you for writing this Tales from the Compilation Trenches narrative. Yes, that syntax /mnt/c is the linkage that I found to and from WSL-world.
In case this helps with which quickjs includes to use,and you haven't worked it out in the meantime, we made a basic proof of concept program in February and I put my gcc one-liner in a comment. gcc js_hello_quick.c -o js_hello_quick quickjs.c libregexp.c libunicode.c cutils.c -lm -ldl -lpthread https://github.com/CMB/edbrowse/commit/d7cd398f6ba6b4cb813745e560176079594e55b8#diff-25a6634263c1b1f6fc4697a04e2b9904ea4b042a89af59dc93ec1f5d44848a26
