Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.8
4 changes: 2 additions & 2 deletions rust/cargo_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,8 +410,8 @@ def _toolchain_list(self):
# https://static.rust-lang.org/dist/index.html
# (See https://github.com/rust-lang-nursery/rustup.rs/issues/215)
shorthands = []
channels = ['nightly', 'beta', 'stable', '\d\.\d{1,2}\.\d']
pattern = '(%s)(?:-(\d{4}-\d{2}-\d{2}))?(?:-(.*))' % '|'.join(channels)
channels = ['nightly', 'beta', 'stable', r'\d\.\d{1,2}\.\d']
pattern = r'(%s)(?:-(\d{4}-\d{2}-\d{2}))?(?:-(.*))' % '|'.join(channels)
for toolchain in output:
m = re.match(pattern, toolchain)
# Should always match.
Expand Down
2 changes: 1 addition & 1 deletion rust/cargo_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
'allows_release': True,
'allows_features': True,
'allows_json': True,
'json_stop_pattern': '^\s*Running ',
'json_stop_pattern': r'^\s*Running ',
},
'check': {
'name': 'Check',
Expand Down
Loading