We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
See rust-lang/rust-clippy#2874
Clippy is compiled with SYSROOT environment variable is "" while correct value should be "/usr"
SYSROOT
""
"/usr"
config.toml:
[llvm] optimize = true release-debuginfo = false assertions = false targets = "X86;Mips;NVPTX;BPF;AArch64" [build] build = "x86_64-unknown-linux-gnu" host = ["x86_64-unknown-linux-gnu"] target = ["x86_64-unknown-linux-gnu"] docs = false submodules = false python = "python2.7" locked-deps = true vendor = false verbose = 2 sanitizers = false extended = true tools = ["clippy",] [install] prefix = "/usr" libdir = "lib64/rust-9999" docdir = "share/doc/rust-9999" mandir = "share/rust-9999/man" [rust] optimize = true debuginfo = false debug-assertions = true # false jemalloc = true default-linker = "x86_64-pc-linux-gnu-gcc" rpath = false ignore-git = false lld = false llvm-tools = true [target.x86_64-unknown-linux-gnu] cc = "x86_64-pc-linux-gnu-gcc" cxx = "x86_64-pc-linux-gnu-g++" linker = "x86_64-pc-linux-gnu-gcc" ar = "x86_64-pc-linux-gnu-ar"
OS: Gentoo Linux AMD64
The text was updated successfully, but these errors were encountered:
This should've been fixed here: rust-lang/rust-clippy@f5db351
It is also tested by Clippy's CI, that clippy-driver and rustc always print the same sysroot.
clippy-driver
rustc
Sorry, something went wrong.
Currently clippy works without patches so I suppose this issues was fixed before.
No branches or pull requests
See rust-lang/rust-clippy#2874
Clippy is compiled with
SYSROOT
environment variable is""
while correct value should be"/usr"
config.toml:
OS: Gentoo Linux AMD64
The text was updated successfully, but these errors were encountered: