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

use RUSTC_WRAPPER instead of overriding RUSTC #569

Closed
nivkner opened this issue Dec 12, 2018 · 1 comment
Closed

use RUSTC_WRAPPER instead of overriding RUSTC #569

nivkner opened this issue Dec 12, 2018 · 1 comment

Comments

@nivkner
Copy link

nivkner commented Dec 12, 2018

some crates, including libc, depend on the RUSTC environment variable actually pointing to the rust compiler for version checks.

according to this stack overflow answer the difference in usage should only be that the cargo-miri binary would get rustc passed before the other parameters

@RalfJung
Copy link
Member

I doubt miri will be able to execute much of what libc does, but yeah, using RUSTC_WRAPPER seems reasonable.

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

No branches or pull requests

2 participants