Skip to content
Latchkey

target triple - CI/CD用語集の定義

target triple は、コンパイラが build すべきプラットフォームを識別する文字列で、慣例として arch-vendor-os-abi の形式です。例えば x86_64-unknown-linux-gnuaarch64-apple-darwin などです。

使い方

クロスコンパイルのツールチェーン(rustc --target、Clang --target)に triple を渡して、出力のアーキテクチャ、オペレーティングシステム、ABI を選択します。

関連ガイド