Ben Kimock
Ben Kimock
Your second example looks smaller but it's actually bigger. Since it's a bin crate without `no_std` it pulls in our pre-main initialization code which does dispatch through a function pointer.
The slice by-reference iterator fully unrolls and optimizes out the unwrap for `len
It looks like the 10 -> 11 difference is in InstCombine: https://rust.godbolt.org/z/hKof6449W Looks like we're getting some kind of special treatment until the loop exceeds 10 iterations.
> looks like the runtime value no longer equals the compiler constant-folded result on our platforms. I believe that is https://github.com/rust-lang/rust/issues/124364 I'm deliberately _not_ labeling this issue as I-unsound because...
Someone should look into whether it's reasonable to shim all libc APIs for implementing a TUI. There are a handful beyond this one ioctl. For example, being able to get...
@obeis Are you planning on taking care of these FIXMEs? I can't tell what the plan is here. I don't see one written anywhere. If you're not going to handle...
I honestly don't know how GitHub assignment stuff works. You aren't in the dropdown or search. You can comment `@rustbot claim` on this issue: https://github.com/rust-lang/rust/issues/125035
Then you should file an issue on the clippy repo. I don't think it would help here though because it's not clear to a lint that this nondet escapes to...
@bors try @rust-timer queue