about summary refs log tree commit diff
path: root/example/example.rs
diff options
context:
space:
mode:
authorMaybe Waffle <waffle.lapkin@gmail.com>2024-04-20 03:22:54 +0000
committerMaybe Waffle <waffle.lapkin@gmail.com>2024-04-20 12:18:21 +0000
commitdd50f454c8090c65ee6c551facf8d3dbf0de79c9 (patch)
tree830d45297dbae6957104ead8f42bc2919b39ecae /example/example.rs
parentcccf379a5bd7096b970277db70f72055ff01a5e8 (diff)
downloadrust-dd50f454c8090c65ee6c551facf8d3dbf0de79c9.tar.gz
rust-dd50f454c8090c65ee6c551facf8d3dbf0de79c9.zip
Fixup `rustc_codegen_gcc` test signature
Diffstat (limited to 'example/example.rs')
-rw-r--r--example/example.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/example/example.rs b/example/example.rs
index 5878e8548d9..7c21b73b630 100644
--- a/example/example.rs
+++ b/example/example.rs
@@ -153,9 +153,10 @@ fn array_as_slice(arr: &[u8; 3]) -> &[u8] {
     arr
 }
 
-unsafe fn use_ctlz_nonzero(a: u16) -> u16 {
-    intrinsics::ctlz_nonzero(a)
-}
+// FIXME: fix the intrinsic implementation to work with the new ->u32 signature
+// unsafe fn use_ctlz_nonzero(a: u16) -> u32 {
+//     intrinsics::ctlz_nonzero(a)
+// }
 
 fn ptr_as_usize(ptr: *const u8) -> usize {
     ptr as usize