diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2021-12-14 10:21:03 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-14 10:21:03 +0100 |
| commit | dfec47fe9192c66ef6c536cc91745e806b84419a (patch) | |
| tree | 571d6a02b76bfaa759a4844b9436472a904ea2ac /compiler/rustc_codegen_llvm/src | |
| parent | 7ec00cd135a235d9c615bd862cd78b3c64c8ceda (diff) | |
| parent | fae40c507068b2d7aa5dc7bda729762e536aa8c2 (diff) | |
| download | rust-dfec47fe9192c66ef6c536cc91745e806b84419a.tar.gz rust-dfec47fe9192c66ef6c536cc91745e806b84419a.zip | |
Rollup merge of #91820 - rukai:help_with_personality_issues, r=davidtwco
Suggest to specify a target triple when lang item is missing It is very common for newbies to embedded to hit this confusing error when forgetting to specify the target. Source: me googling this error many times. ## Possible changes * We could possibly restrict the note+help to only be included on eh_personality lang item if that helped reduce false positives, but its also possible doing so would just increase false negatives * Open to any suggestions on rewriting the messages * We could possibly remove the `.cargo/config` alternative to avoid the message getting too noisy but I think its valuable to have as its the correct approach for most embedded projects so that `cargo build` just works. r? rust-lang/diagnostics
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
