I can't bisect longer ago than around May, which is about when
embed-bitcode was added. cargo seems to be passing the
embed-bitcode flag to the older nightlies which causes them to fail since they don't recognize the option. Thus I can't bisect because it always fails :(
Here's what it looks like to run
cargo rustc with one of the bisector nightlies:
$ cargo +bisector-nightly-2020-01-01-x86_64-apple-darwin build Compiling rust-issue-78113 v0.1.0 (/Users/user/rust-issue-78113) error: unknown codegen option: `embed-bitcode` error: could not compile `rust-issue-78113` To learn more, run the command again with --verbose.
Is there any way I can get around this?
Are you running
cargo-bisect-rustc with a version that includes https://github.com/rust-lang/cargo-bisect-rustc/pull/98? It should automatically download the appropriate cargo. If that
bisector-nightly was downloaded from an older release, I would just delete it or manually fetch cargo.
I'm on the latest version, but it looks like the latest version is from May and doesn't include that PR. Maybe it would be good to release a new patch version?