Use multirust to regenerate the bindings.

This commit is contained in:
Bobby Holley 2016-05-18 12:56:32 -07:00 committed by Cameron McCormack
parent 4e277d74e8
commit 2adc9abe13

View file

@ -136,7 +136,7 @@ else
TESTS_SRC=$(mktemp) TESTS_SRC=$(mktemp)
echo "#![feature(const_fn)]" > $TESTS_SRC echo "#![feature(const_fn)]" > $TESTS_SRC
cat ../structs.rs >> $TESTS_SRC cat ../structs.rs >> $TESTS_SRC
rustc $TESTS_SRC --test -o $TESTS_FILE multirust run nightly rustc $TESTS_SRC --test -o $TESTS_FILE
$TESTS_FILE $TESTS_FILE
rm $TESTS_FILE rm $TESTS_FILE
rm $TESTS_SRC rm $TESTS_SRC