Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build.rs: fix with rustc not built from Git
I couldn't build hyperx because my rustc (from Nixpkgs) has a version output looks like this: rustc 1.34.2 There's no Git information in parentheses after the version. I assume that this is because it was not built from a Git checkout. To fix this, I made it so that if no space occurs after the "rustc " prefix, the whole remaining string is used as the version.
- Loading branch information