File: target.sh

package info (click to toggle)
rust-dysk 3.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 464 kB
  • sloc: sh: 76; makefile: 11
file content (6 lines) | stat: -rwxr-xr-x 127 bytes parent folder | download
1
2
3
4
5
6
# extract the target from the output of 
target=$(rustc -vV | sed 's/^host: \(.*\)/\1/
    t
    d' | head -1)

echo "$target"