Skip to content

Commit 5ef0944

Browse files
Merge #42
42: added note for 'eh_personality' error r=jamesmunns a=U007D If one happens to have a standard profile set to unwinding panics, a `language item required, but not found: 'eh_personality'` will result. This PR adds a brief note explaining how to resolve the error. Co-authored-by: Brad Gibson <[email protected]>
2 parents bc5cff2 + 65f67f5 commit 5ef0944

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/smallest-no-std.md

+4
Original file line numberDiff line numberDiff line change
@@ -104,3 +104,7 @@ $ cat .cargo/config
104104
``` toml
105105
{{#include ../ci/smallest-no-std/.cargo/config}}
106106
```
107+
108+
Note: if you encountered an error `language item required, but not found: 'eh_personality'` when attempting to build
109+
your project, check your `Cargo.toml` file to be both your `.dev` and `.release` profiles specify `panic = "abort"` (and
110+
not `panic = "unwind"`) for now.

0 commit comments

Comments
 (0)