Skip to content

Commit d27966f

Browse files
committed
Rust and LLVM don't spec the same output types
1 parent 2afedce commit d27966f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testcrate/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ fn main() {
778778

779779
// count leading zeros
780780
gen(|a: MyU64| {
781-
Some((a.0 as usize).leading_zeros())
781+
Some((a.0 as usize).leading_zeros() as usize)
782782
},
783783
"{
784784
builtins::int::__clzsi2(a as usize)

0 commit comments

Comments
 (0)