-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Incoming is broken on Arch Linux after LLVM upgrade #5835
Comments
It may not be related to python. Could just be failing in the vicinity of the python test. |
@brson: the way I end up dealing with this is making a temp directory and putting another python symlink in https://github.com/thestinger/packages/blob/master/cling-svn/PKGBUILD#L21 It looks like LLVM has a |
I can confirm that this also occurs in OS X. |
Switching to python 2.7 seemed to allow it to build - I was on python 3.3. For those using MacPorts: |
Fixed. |
tabs_in_doc_comments: Fix ICE due to char indexing This is a quick-fix for an ICE in `tabs_in_doc_comments`. The problem was that we we're indexing into possibly multi-byte characters, such as '位'. More specifically `get_chunks_of_tabs` was returning indices into multi-byte characters. Those were passed on to a `Span` creation that then caused the ICE. This fix makes sure that we don't return indices that point inside a multi-byte character. *However*, we are still iterating over unicode codepoints, not grapheme clusters. So a seemingly single character like y̆ , which actually consists of two codepoints, will probably still cause incorrect spans in the output. But I don't think we handle those cases anywhere in Clippy currently? Fixes rust-lang#5835 changelog: Fix ICE in `tabs_in_doc_comments`
https://gist.github.com/Jeaye/c98b280b5ca9055ed114
I did drop our patch to fix python detection, thinking it was fixed upstream. It appears not to be and reapplying our patch to fix python detection does not appear to fix the problem.
The text was updated successfully, but these errors were encountered: