Did anyone work on getting Swift usable on RISC-V yet? In particular the ESP-C3 looks like an interesting target.
I've build Swift for RISCV64 and Buildroot. The caveat is that I only was able to compile targeting Soft Float.
In the previous release, I added flags to the Swift frontend, but I found that there were standard flags later.
Now I use
-Xcc -mfloat-abi=hard flags to tell the compiler to generate hard float instruction and ABI. I don't know if this would work in RISCV64.
I did try that, it was an issue of Clang assuming soft float for Swift when specifying the triple. Wasn't a dealbreaker for me.