rustrustup

What is a "default host triple" in Rust?


While doing a custom installation of Rust on Windows 10, I am asked "Default host triple?"

I have no clue what this is, and the Rustup repository page, which came up in a web search, does not really explain it.


Solution

  • Host triples identify the architecture and OS of the system that will ultimately run your executable. Mine is x86_64-pc-linux-gnu for example. The general form is cpu-vendor-os. Windows might be something like x86_64-pc-windows-msvc. You can read more at these links: