summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2021-11-27 09:51:52 +0100
committerMartin Fischer <martin@push-f.com>2021-11-27 12:53:41 +0100
commit5a378e3c4cead462fa7a419524b6fe215241284f (patch)
treeb19cd5ac6d3001227cef78ba89cbacedabb7b344
parent4ed1633b849a06e57d3dca781cfc9b08eb1d7854 (diff)
data: support stabilization_pr_id as url fallback
-rwxr-xr-xbuild.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/build.py b/build.py
index 1cc8fa4..fb2b96d 100755
--- a/build.py
+++ b/build.py
@@ -63,6 +63,8 @@ def write_features(f, feature_data):
)
elif 'impl_pr_id' in data:
url = 'https://github.com/rust-lang/rust/pull/{}'.format(data['impl_pr_id'])
+ elif 'stabilization_pr_id' in data:
+ url = 'https://github.com/rust-lang/rust/pull/{}'.format(data['stabilization_pr_id'])
data['url'] = url
data['filename'] = feat