##// END OF EJS Templates
setup: remove Rust support for Python 2...
Augie Fackler -
r49692:12cba488 default
parent child Browse files
Show More
@@ -1380,13 +1380,9 b' class RustExtension(Extension):'
1380
1380
1381 cargocmd = ['cargo', 'rustc', '--release']
1381 cargocmd = ['cargo', 'rustc', '--release']
1382
1382
1383 feature_flags = []
1383 feature_flags = ['python3']
1384
1384
1385 cargocmd.append('--no-default-features')
1385 cargocmd.append('--no-default-features')
1386 if sys.version_info[0] == 2:
1387 feature_flags.append('python27')
1388 elif sys.version_info[0] == 3:
1389 feature_flags.append('python3')
1390
1386
1391 rust_features = env.get("HG_RUST_FEATURES")
1387 rust_features = env.get("HG_RUST_FEATURES")
1392 if rust_features:
1388 if rust_features:
General Comments 0
You need to be logged in to leave comments. Login now