You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...
$cross build --target x86_64-unknown-linux-gnu
error: failed to run `rustc` to learn about target-specific information
Caused by:
could not execute process `c:\Users\robertc\.cargo\bin\sccache rustc - --crate-name ___ --print=file-names --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=cfg` (never executed)
Caused by:
No such file or directory (os error 2)
What target(s) are you cross-compiling for?
x86_64-unknown-linux-gnu
Which operating system is the host (e.g computer cross is on) running?
Checklist
Describe your issue
In ~/.cargo/config.toml I have the following content:
[build]
rustc-wrapper = "c:\Users\USERNAME\.cargo\bin\sccache"
This breaks builds with cross:
What target(s) are you cross-compiling for?
x86_64-unknown-linux-gnu
Which operating system is the host (e.g computer cross is on) running?
What architecture is the host?
What container engine is cross using?
cross version
cross 0.2.5 (99b8069 2023-02-12)
Example
See above
Additional information / notes
No response
The text was updated successfully, but these errors were encountered: