This removes the CARGO_BUILD_TARGET environment variable which causes cargo to unconditionally work in "cross compile mode". This is different from a normal cargo invocation without the --target flag, in which case it runs in "host mode", where cargo and other tools have distinctly different behavior. This can be surprising when you get one behavior with cargo build and a different one with cargo bisect-rustc.
This was added in #159 to address some issue with using cross-rs with cargo bisect-rustc. I'm not sure why, as I would think the recommended behavior when using cross is to set the --target flag. The given PR didn't really explain the situation.
This removes the
CARGO_BUILD_TARGET
environment variable which causes cargo to unconditionally work in "cross compile mode". This is different from a normalcargo
invocation without the--target
flag, in which case it runs in "host mode", where cargo and other tools have distinctly different behavior. This can be surprising when you get one behavior withcargo build
and a different one withcargo bisect-rustc
.This was added in #159 to address some issue with using
cross-rs
withcargo bisect-rustc
. I'm not sure why, as I would think the recommended behavior when using cross is to set the--target
flag. The given PR didn't really explain the situation.Closes #284