mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-01 13:34:38 +00:00
18 lines
338 B
Bash
Executable File
18 lines
338 B
Bash
Executable File
#!/bin/sh
|
|
|
|
code=0
|
|
while ! [ $# = 0 ]; do
|
|
case "$1" in
|
|
run_make_info) echo "foo"
|
|
;;
|
|
run_make_warn) echo "warning: bar" >&2
|
|
;;
|
|
run_make_error) echo "error: baz" >&2; code=1
|
|
;;
|
|
*) ;; # rustc passes lots of args we don't care about
|
|
esac
|
|
shift
|
|
done
|
|
|
|
exit $code
|