summaryrefslogtreecommitdiffstats
path: root/third_party/rust/target-lexicon-0.9.0/newlist
blob: 922950d0a0c83e07c89d0296d45b3a36a3fa035d (plain)
1
2
3
4
5
6
7
#!/bin/bash
set -euo pipefail

rustup target list | sed 's/ (.*//' > list.txt
rustc +nightly --print target-list >> list.txt
cat list.txt | sort | uniq |sed 's/\(.*\)/            "\1",/' > sorted.txt
rm list.txt