提交 0d97b95d 编写于 作者: J Jakub Bukaj

rollup merge of #18935: jmesmon/cody/no-vendor-triplle

......@@ -75,7 +75,11 @@ def full_snapshot_name(date, rev, platform, hsh):
def get_kernel(triple):
os_name = triple.split('-')[2]
t = triple.split('-')
if len(t) == 2:
os_name = t[1]
else:
os_name = t[2]
if os_name == "windows":
return "winnt"
if os_name == "darwin":
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册