You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suspect we are going to run into this again as we gain support for more of LLVM's capabilities, for now I'm just going to disable CheckedMul for i64 and u64 on 32-bit.
The text was updated successfully, but these errors were encountered:
Rework `undocumented_unsafe_blocks`
fixes: rust-lang#8264fixes: rust-lang#8449
One thing came up while working on this. Currently comments on the same line are supported like so:
```rust
/* SAFETY: reason */ unsafe {}
```
Is this worth supporting at all? Anything other than a couple of words doesn't really fit well.
edit: [zulip topic](https://rust-lang.zulipchat.com/#narrow/stream/257328-clippy/topic/.60undocumented_unsafe_blocks.60.20same.20line.20comment)
changelog: Don't lint `undocumented_unsafe_blocks` when the unsafe block comes from a proc-macro.
changelog: Don't lint `undocumented_unsafe_blocks` when the preceding line has a safety comment and the unsafe block is a sub-expression.
LLVM relies on the existence of support in compiler-rt for this on some platforms, but we're using libgcc so it's broken.
http://llvm.org/bugs/show_bug.cgi?id=14469
I suspect we are going to run into this again as we gain support for more of LLVM's capabilities, for now I'm just going to disable
CheckedMul
fori64
andu64
on 32-bit.The text was updated successfully, but these errors were encountered: