llvm / llvm/llvm-project

[clang] [feature] Add command line option to print all supported target triples

Open
#176,587 8 comments 1 reaction 0 assignees View on GitHub
clang:driver enhancement
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

rust (`rustc --print target-list`) and zig (`zig targets`) already support this, but clang does not. Running `clang -print-targets` only prints the target architectures, not target triples.

Would be a very nice quality of life feature. Discussion: https://stackoverflow.com/questions/15036909/how-to-list-supported-target-architectures-in-clang

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.