equal
deleted
inserted
replaced
1064 return matchoutput( |
1064 return matchoutput( |
1065 '`rustup which --toolchain nightly rustfmt` --version', b'rustfmt' |
1065 '`rustup which --toolchain nightly rustfmt` --version', b'rustfmt' |
1066 ) |
1066 ) |
1067 |
1067 |
1068 |
1068 |
|
1069 @check("cargo", "cargo tool") |
|
1070 def has_cargo(): |
|
1071 return matchoutput('`rustup which cargo` --version', b'cargo') |
|
1072 |
|
1073 |
1069 @check("lzma", "python lzma module") |
1074 @check("lzma", "python lzma module") |
1070 def has_lzma(): |
1075 def has_lzma(): |
1071 try: |
1076 try: |
1072 import _lzma |
1077 import _lzma |
1073 |
1078 |