mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 13:18:54 +01:00
fedb775fbb
Not included in the build by default, since it's fragile and kludgy. Do something like this to run it: cd doc/tutorial RUSTC=../../build/stage2/bin/rustc bash test.sh Closes #1143
9 lines
168 B
Bash
9 lines
168 B
Bash
#!/bin/bash
|
|
rm -f fragments/*.rs
|
|
mkdir -p fragments
|
|
node extract.js
|
|
for F in `ls fragments/*.rs`; do
|
|
$RUSTC $F > /dev/null
|
|
if [[ $? != 0 ]] ; then echo $F; fi
|
|
done
|