When --app:lib is being used to create a DLL, does Nim support exporting a function by ordinal only? I'm referring to an equivalent to the function described here: https://docs.microsoft.com/en-us/cpp/build/exporting-functions-from-a-dll-by-ordinal-rather-than-by-name?view=msvc-160
I'm aware of .exportc and .dynlib, but there didn't appear to be a way to specify exporting by ordinal. It's not really a cross-platform capability so I understand if Nim doesn't support it out of the box, but is there a workaround of some sort that someone is aware of? I feel like worst-case it should be possible to pull this off either with some combination of .emit/custom pragmas and compilation flags that would manually pass in things like the .def file, but I'm not familiar enough with how Nim code generation works to know how to go about it.