servo: Merge #11626 - Add FreeBSD to `host_triple` (from danlrobertson:freebsd-host-triple); r=larsbergstrom

Add freebsd to `host_triple` so that the correct nightly compiler will be downloaded. There are still other crates that need patching to compile, but this is a start.
---
- [ ] `./mach build -d` does not report any errors
  - Other crates need patches
- [X] `./mach test-tidy` does not report any errors
- [X] These changes do not require tests because: the correct compiler is not downloaded without this commit

Part of: #11625

Source-Repo: https://github.com/servo/servo
Source-Revision: fada22ab53a532a9adbad0bfc0d5b5d7d4b8cd26
This commit is contained in:
Daniel Robertson 2016-06-05 16:07:36 -05:00
Родитель e7044549b9
Коммит 2765a979e9
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -43,6 +43,8 @@ def host_triple():
os_type = "linux-androideabi"
elif os_type == "windows" or os_type.startswith("mingw64_nt-") or os_type.startswith("cygwin_nt-"):
os_type = "pc-windows-gnu"
elif os_type == "freebsd":
os_type = "unknown-freebsd"
else:
os_type = "unknown"