Cargo `resolve_ws_with_opts` invoking rustc?

Hello. Issue popped up where I realized cargo2nix was failing without a rustc on the path. We're just using it to resolve features & dependencies when generating the Cargo.nix. I wasn't expecting that the user needs rustc on their path. Is there a way to configure the calls to avoid need for rustc?