Skip to content
This repository has been archived by the owner. It is now read-only.
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Rust Bisector

This is a tool written to find which commit introduced an error message into Rust, by bisecting the commits of the Rust repository.

In order to use it, first record the range of commits which contains a regression. Note that if a commit happened more than 90 days ago, the bisector may not be able to download the build artifacts. Then, the recommended approach is to get Docker, and run the following command:

cd test
docker build -t bisector .
cd ..
cargo build --release
RUST_LOG=rust_sysroot=info target/release/bisect \
    --preserve \
    --test test.sh \
    --start 5f44c653cff61d0f55f53e07a188f755c7acddd1 \
    --end e97ba83287a6f0f85cc9cc7a51ab309487e17038

For each run, copy test.example.sh into test.sh and configure it to match your test case. The script should exit with 0 if the regression occured, and exit with nonzero code if no regression is detected.

About

Bisects rust-lang/rust by pull request, downloading the built artifacts

Resources

License

Releases

No releases published
You can’t perform that action at this time.