Move version detection to runtime
Avoids the need to wait for compilation of a build script.
Caches the result of running rustc so that multiple build scripts will use the same result.
Avoids the need to wait for compilation of a build script.
Caches the result of running rustc so that multiple build scripts will use the same result.