diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2021-12-31 23:14:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-31 23:14:48 +0100 |
| commit | 4e4d2585e500315346ab5cbd43eee285a3d5e7ea (patch) | |
| tree | 2893a5e29b7c29ee600c1ff3725d79445e868553 /compiler/rustc_codegen_cranelift/example | |
| parent | 81f5dbdbd1fdc4a561a0a762c8ba1d9a304e1ffd (diff) | |
| parent | a8e6d5b04d844a8b540a772dec4f6a233f307c35 (diff) | |
| download | rust-4e4d2585e500315346ab5cbd43eee285a3d5e7ea.tar.gz rust-4e4d2585e500315346ab5cbd43eee285a3d5e7ea.zip | |
Rollup merge of #92435 - bjorn3:sync_cg_clif-2021-12-30, r=bjorn3
Sync rustc_codegen_cranelift The main highlight this sync is enforcing rustfmt and lack of warnings on cg_clif's CI. I will open a separate PR to remove the cg_clif exceptions for them from this repo. r? `@ghost` `@rustbot` label +A-codegen +A-cranelift +T-compiler
Diffstat (limited to 'compiler/rustc_codegen_cranelift/example')
| -rw-r--r-- | compiler/rustc_codegen_cranelift/example/mini_core_hello_world.rs | 1 |
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 (), |
