File tree 1 file changed +5
-0
lines changed
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ class ArchType:
53
53
shave = 39
54
54
armv6 = 40
55
55
s390x = 41
56
+ i686 = 42
56
57
# Do not assume that these are 1:1 mapping. This should follow
57
58
# canonical naming conventions for arm, etc. architectures.
58
59
# See apple/swift PR #608
@@ -110,6 +111,8 @@ def to_string(value):
110
111
return "thumbeb"
111
112
if value == ArchType .x86 :
112
113
return "i386"
114
+ if value == ArchType .i686 :
115
+ return "i686"
113
116
if value == ArchType .x86_64 :
114
117
return "x86_64"
115
118
if value == ArchType .xcore :
@@ -202,6 +205,8 @@ def from_string(string):
202
205
return ArchType .thumbeb
203
206
if string == "x86" :
204
207
return ArchType .x86
208
+ if string == "i686" :
209
+ return ArchType .i686
205
210
if string == "x86_64" :
206
211
return ArchType .x86_64
207
212
if string == "xcore" :
You can’t perform that action at this time.
0 commit comments