diff --git a/src/main.rs b/src/main.rs
index d9776f850b7a185a11b7ddc76f46ee039c9274e7..edadf4ca6bb182241ecf8f24d3030323cd48edf8 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -11,6 +11,7 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
+#![feature(alloc_error_handler)]
 
 #![cfg_attr(not(feature = "std"), no_std)]