3 ms·
Why can’t you build Swift from your build.rs?
by saagarjha 8y ago
Why can’t you build Swift from your build.rs?
- raphlinus 8y agoMaybe I can, I just haven't found an example of it. Certainly the "cc" crate doesn't seem to know how to compile Swift files. This might be more of a documentation issue than a real technical limitation though.
- saagarjha 8y agoIf you can figure out a way to run arbitrary commands, I’d suggest looking at swift -frontend, which works like you’d expect a normal compiler to.