about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/example/alloc_example.rs
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2021-03-07 10:41:19 +0900
committerGitHub <noreply@github.com>2021-03-07 10:41:19 +0900
commitb6191d7c6625db312286f94391cc7d4d6d62d390 (patch)
tree876aa3d9de5625afd48043c3c7c5faf58e0e4612 /compiler/rustc_codegen_cranelift/example/alloc_example.rs
parent379679b913410e1bada4e754fde6e2799664fc91 (diff)
parent7a6ea77473949c9a74712c09e7a2654e0ba8258b (diff)
downloadrust-b6191d7c6625db312286f94391cc7d4d6d62d390.tar.gz
rust-b6191d7c6625db312286f94391cc7d4d6d62d390.zip
Rollup merge of #82808 - bjorn3:sync_cg_clif-2021-03-05, r=bjorn3
Sync rustc_codegen_cranelift

The main highlight of this sync is removal of support for the old x86 Cranelift backend. This made it possible to use native atomic instructions rather than hackishly using a global mutex. 128bit integer support has also seen a few bugfixes and performance improvements. And finally I have formatted everything using the same rustfmt config as the rest of this repo.

r? ````@ghost````

````@rustbot```` label +A-codegen +A-cranelift +T-compiler
Diffstat (limited to 'compiler/rustc_codegen_cranelift/example/alloc_example.rs')
-rw-r--r--compiler/rustc_codegen_cranelift/example/alloc_example.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_cranelift/example/alloc_example.rs b/compiler/rustc_codegen_cranelift/example/alloc_example.rs
index f59600ebb33..71e93e87b6c 100644
--- a/compiler/rustc_codegen_cranelift/example/alloc_example.rs
+++ b/compiler/rustc_codegen_cranelift/example/alloc_example.rs
@@ -1,4 +1,4 @@
-#![feature(start, box_syntax, alloc_system, core_intrinsics, alloc_prelude, alloc_error_handler)]
+#![feature(start, box_syntax, core_intrinsics, alloc_prelude, alloc_error_handler)]
 #![no_std]
 
 extern crate alloc;