S4TF in colab (error)

You could run !/swift/toolchain/usr/bin/swift --version in a Colab python notebook, to get the commit hash of the currently-installed swift. Then you can look that up on GitHub - swiftlang/swift: The Swift Programming Language to see how recent it is. We haven’t been adding release version information into the toolchains, so it won’t tell you “v0.3” though. But it seems like there is a place for a version string that prints out next to the commit hash, and we should set it to our release version, so that it’s easy to tell what release you are on. I’ll keep this in mind for our next release!

2 Likes