https://github.com/Bigcheese approved this pull request. lgtm. The uname detection is a little fragile because you can use custom kernels with WSL, but this handles the most common case. https://github.com/llvm/llvm-project/pull/137822