From 65f67f5e483d041b41d7f5720d73c944899f7fe8 Mon Sep 17 00:00:00 2001 From: Brad Gibson Date: Wed, 30 Jan 2019 07:07:01 -0800 Subject: [PATCH] added note for 'eh_personality' error --- src/smallest-no-std.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/smallest-no-std.md b/src/smallest-no-std.md index 0c7f7a4..dcd027b 100644 --- a/src/smallest-no-std.md +++ b/src/smallest-no-std.md @@ -104,3 +104,7 @@ $ cat .cargo/config ``` toml {{#include ../ci/smallest-no-std/.cargo/config}} ``` + +Note: if you encountered an error `language item required, but not found: 'eh_personality'` when attempting to build +your project, check your `Cargo.toml` file to be both your `.dev` and `.release` profiles specify `panic = "abort"` (and +not `panic = "unwind"`) for now.