about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/example
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-12-30 14:53:41 +0100
committerbjorn3 <bjorn3@users.noreply.github.com>2021-12-30 14:53:41 +0100
commita8e6d5b04d844a8b540a772dec4f6a233f307c35 (patch)
treee2e34051edd788079e52c067e9cf60048145227c /compiler/rustc_codegen_cranelift/example
parent65d8785f0a85d233e00fc84445f1aab451ec9f4f (diff)
parent40b00f4200fbdeefd11815398cb46394b8cb0a5e (diff)
downloadrust-a8e6d5b04d844a8b540a772dec4f6a233f307c35.tar.gz
rust-a8e6d5b04d844a8b540a772dec4f6a233f307c35.zip
Merge commit '40b00f4200fbdeefd11815398cb46394b8cb0a5e' into sync_cg_clif-2021-12-30
Diffstat (limited to 'compiler/rustc_codegen_cranelift/example')
-rw-r--r--compiler/rustc_codegen_cranelift/example/mini_core_hello_world.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_cranelift/example/mini_core_hello_world.rs b/compiler/rustc_codegen_cranelift/example/mini_core_hello_world.rs
index cbfdb3c44f3..ef3b575d393 100644
--- a/compiler/rustc_codegen_cranelift/example/mini_core_hello_world.rs
+++ b/compiler/rustc_codegen_cranelift/example/mini_core_hello_world.rs
@@ -129,6 +129,7 @@ fn call_return_u128_pair() {
     return_u128_pair();
 }
 
+#[allow(unreachable_code)] // FIXME false positive
 fn main() {
     take_unique(Unique {
         pointer: 0 as *const (),