Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
vendor
/
target-lexicon-0.12.16
/
scripts
/
rust-targets.sh
blob: 922950d0a0c83e07c89d0296d45b3a36a3fa035d [
file
] [
log
] [
blame
] [
edit
]
#!/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