Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross uses host cargo config.toml #622

Closed
DizzyWasTaken opened this issue Jan 3, 2022 · 2 comments
Closed

Cross uses host cargo config.toml #622

DizzyWasTaken opened this issue Jan 3, 2022 · 2 comments

Comments

@DizzyWasTaken
Copy link

Hello,

I'm building with cross using a custom docker image and it uses my host .cargo/config.toml parameters. In particular

[build]
rustc-wrapper = "sccache"

which makes every attempt at building fail.

I was under the impression that the rust environment cross uses was the one that's on the docker image. Is there a way of making it ignore my host's cargo config?

@Emilgardis
Copy link
Member

Duplicate of #621

@DizzyWasTaken
Copy link
Author

DizzyWasTaken commented Jan 6, 2022

Oops, didn't see it. Thanks for the notice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants