about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/example/std_example.rs
diff options
context:
space:
mode:
authorUrgau <urgau@numericable.fr>2024-10-03 15:05:23 +0200
committerUrgau <urgau@numericable.fr>2024-10-04 14:06:48 +0200
commit018ba0528fa5d22712397e520351295f8582a525 (patch)
tree1c1520315d2b4c41b3a57d9fc9929e27916a0ce0 /compiler/rustc_codegen_cranelift/example/std_example.rs
parentf7c8928f035370be33463bb7f1cd1aeca2c5f898 (diff)
downloadrust-018ba0528fa5d22712397e520351295f8582a525.tar.gz
rust-018ba0528fa5d22712397e520351295f8582a525.zip
Use wide pointers consistenly across the compiler
Diffstat (limited to 'compiler/rustc_codegen_cranelift/example/std_example.rs')
-rw-r--r--compiler/rustc_codegen_cranelift/example/std_example.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_cranelift/example/std_example.rs b/compiler/rustc_codegen_cranelift/example/std_example.rs
index ebaa9c69c81..3078288c286 100644
--- a/compiler/rustc_codegen_cranelift/example/std_example.rs
+++ b/compiler/rustc_codegen_cranelift/example/std_example.rs
@@ -168,7 +168,7 @@ fn main() {
 
     foo(I64X2([0, 0]));
 
-    transmute_fat_pointer();
+    transmute_wide_pointer();
 
     rust_call_abi();
 
@@ -192,7 +192,7 @@ type TwoPtrs = i64;
 #[cfg(target_pointer_width = "64")]
 type TwoPtrs = i128;
 
-fn transmute_fat_pointer() -> TwoPtrs {
+fn transmute_wide_pointer() -> TwoPtrs {
     unsafe { transmute::<_, TwoPtrs>("true !") }
 }