about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/example/alloc_example.rs
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-09-19 13:56:58 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2021-09-19 13:56:58 +0200
commit86f9bcfb8e5863fe51699dc9edebe76fb97078d2 (patch)
tree3f110c9ed653fc4224a3ae1a93ddede8ce9d004a /compiler/rustc_codegen_cranelift/example/alloc_example.rs
parent7a3d1a5f3dfeaf5177885fedd7db8ecc70670dc1 (diff)
parent61667dedf55e3e5aa584f7ae2bd0471336b92ce9 (diff)
downloadrust-86f9bcfb8e5863fe51699dc9edebe76fb97078d2.tar.gz
rust-86f9bcfb8e5863fe51699dc9edebe76fb97078d2.zip
Merge commit '61667dedf55e3e5aa584f7ae2bd0471336b92ce9' into sync_cg_clif-2021-09-19
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 2a9f7e58e01..d0d492e9674 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, core_intrinsics, alloc_prelude, alloc_error_handler)]
+#![feature(start, core_intrinsics, alloc_prelude, alloc_error_handler, box_syntax)]
 #![no_std]
 
 extern crate alloc;