about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/example/example.rs
diff options
context:
space:
mode:
authorMaybe Waffle <waffle.lapkin@tasking.com>2024-04-19 18:45:25 +0000
committerMaybe Waffle <waffle.lapkin@tasking.com>2024-04-19 18:45:25 +0000
commitc0b5cc9003f6464c11ae1c0662c6a7e06f6f5cab (patch)
tree627f1fd19408f5807230eb862fda8743f578126c /compiler/rustc_codegen_cranelift/example/example.rs
parent4b6bbcbaa35e61db72424bbd161c01f50f860bbc (diff)
downloadrust-c0b5cc9003f6464c11ae1c0662c6a7e06f6f5cab.tar.gz
rust-c0b5cc9003f6464c11ae1c0662c6a7e06f6f5cab.zip
Do intrinsic changes in `rustc_codegen_cranelift`
Diffstat (limited to 'compiler/rustc_codegen_cranelift/example/example.rs')
-rw-r--r--compiler/rustc_codegen_cranelift/example/example.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_cranelift/example/example.rs b/compiler/rustc_codegen_cranelift/example/example.rs
index 885e55bc764..1ef2aa5dd8e 100644
--- a/compiler/rustc_codegen_cranelift/example/example.rs
+++ b/compiler/rustc_codegen_cranelift/example/example.rs
@@ -149,7 +149,7 @@ pub fn array_as_slice(arr: &[u8; 3]) -> &[u8] {
     arr
 }
 
-pub unsafe fn use_ctlz_nonzero(a: u16) -> u16 {
+pub unsafe fn use_ctlz_nonzero(a: u16) -> u32 {
     intrinsics::ctlz_nonzero(a)
 }