File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ class ArchType:
5353 shave = 39
5454 armv6 = 40
5555 s390x = 41
56+ i686 = 42
5657# Do not assume that these are 1:1 mapping. This should follow
5758# canonical naming conventions for arm, etc. architectures.
5859# See apple/swift PR #608
@@ -110,6 +111,8 @@ def to_string(value):
110111 return "thumbeb"
111112 if value == ArchType .x86 :
112113 return "i386"
114+ if value == ArchType .i686 :
115+ return "i686"
113116 if value == ArchType .x86_64 :
114117 return "x86_64"
115118 if value == ArchType .xcore :
@@ -202,6 +205,8 @@ def from_string(string):
202205 return ArchType .thumbeb
203206 if string == "x86" :
204207 return ArchType .x86
208+ if string == "i686" :
209+ return ArchType .i686
205210 if string == "x86_64" :
206211 return ArchType .x86_64
207212 if string == "xcore" :
You can’t perform that action at this time.
0 commit comments