News for hackers. Stuff that matters.
Re:What's Going Down at the Tiobe Index? Swift, Surprisingly by saagarjha on Saturday April 27, 2019 @07:35PM (#19768329)
Why can’t you build Swift from your build.rs?
Re:What's Going Down at the Tiobe Index? Swift, Surprisingly by raphlinus on Saturday April 27, 2019 @07:47PM (#19768389)
Maybe 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.
Re:What's Going Down at the Tiobe Index? Swift, Surprisingly by saagarjha on Saturday April 27, 2019 @08:22PM (#19768533)
If 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.