-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Snapshot rustc depends on libtinfo.so.5 #9334
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
Comments
Odd... why does rust link against |
Grepping through the source, it looks like the only references to |
Hmm, we may need to configure LLVM differently. We need to figure out how to build only what we want from LLVM, not all of the other nonsense that we're pulling in (JIT tests, random tools, etc.) |
We need to fix this regression for the 0.8 release, so I'm setting it as the milestone. |
…ng-for-multi-dimension-arrays, r=Alexendoo fix: `manual_memcpy` wrong indexing for multi dimensional arrays fixes: rust-lang#9334 This PR fixes an invalid suggestion for multi-dimensional arrays. For example, ```rust let src = vec![vec![0; 5]; 5]; let mut dst = vec![0; 5]; for i in 0..5 { dst[i] = src[i][i]; } ``` For the above code, Clippy suggests `dst.copy_from_slice(&src[i]);`, but it is not compilable because `i` is only used to loop the array. I adjusted it so that Clippy `manual_memcpy` works properly for multi-dimensional arrays. changelog: [`manual_memcpy`]: Fixes invalid indexing suggestions for multi-dimensional arrays
libtinfo
is part ofncurses
, but is not always compiled into a separate library. On Arch Linux, for example, trying to compile raises this error:Running
fixes the problem, but isn't a great solution.
The text was updated successfully, but these errors were encountered: