about summary refs log tree commit diff
path: root/src/bootstrap/bootstrap.py
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-09-19 12:41:30 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-09-21 17:31:25 +0200
commitdcea7709f2ce1be35ba241e923850b1099ceb906 (patch)
treecba79acb5e56b9bb2de8f75a3ad7510410e0f101 /src/bootstrap/bootstrap.py
parentae9c330629f1fb03a636cb8af367fead024793db (diff)
downloadrust-dcea7709f2ce1be35ba241e923850b1099ceb906.tar.gz
rust-dcea7709f2ce1be35ba241e923850b1099ceb906.zip
added support for GNU/Hurd
Diffstat (limited to 'src/bootstrap/bootstrap.py')
-rw-r--r--src/bootstrap/bootstrap.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py
index a9aa7524e8b..d58f0d54d3a 100644
--- a/src/bootstrap/bootstrap.py
+++ b/src/bootstrap/bootstrap.py
@@ -265,7 +265,8 @@ def default_build_triple(verbose):
         'FreeBSD': 'unknown-freebsd',
         'Haiku': 'unknown-haiku',
         'NetBSD': 'unknown-netbsd',
-        'OpenBSD': 'unknown-openbsd'
+        'OpenBSD': 'unknown-openbsd',
+        'GNU': 'unknown-hurd',
     }
 
     # Consider the direct transformation first and then the special cases
@@ -336,6 +337,7 @@ def default_build_triple(verbose):
         'i386': 'i686',
         'i486': 'i686',
         'i686': 'i686',
+        'i686-AT386': 'i686',
         'i786': 'i686',
         'loongarch64': 'loongarch64',
         'm68k': 'm68k',