mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
da26317a8a
When writing a no_std binary, you'll be greeted with nonsensical errors mentioning lang items like eh_personality and start. That's pretty bad because it makes you think that you need to define them somewhere! But oh no, now you're getting the `internal_features` lint telling you that you shouldn't use them! But you need a no_std binary! What now? No problem! Writing a no_std binary is super easy. Just use panic=abort and supply your own platform specific entrypoint symbol (like `main`) and you're good to go. Would be nice if the compiler told you that, right? This makes it so that it does do that. |
||
---|---|---|
.. | ||
bad-add-impl.rs | ||
bad-add-impl.stderr | ||
fn-fn_mut-call-ill-formed.bad_item.stderr | ||
fn-fn_mut-call-ill-formed.bad_sig.stderr | ||
fn-fn_mut-call-ill-formed.fn_bad_item.stderr | ||
fn-fn_mut-call-ill-formed.fn_bad_sig.stderr | ||
fn-fn_mut-call-ill-formed.fn_mut_bad_item.stderr | ||
fn-fn_mut-call-ill-formed.fn_mut_bad_sig.stderr | ||
fn-fn_mut-call-ill-formed.fn_once_bad_item.stderr | ||
fn-fn_mut-call-ill-formed.fn_once_bad_sig.stderr | ||
fn-fn_mut-call-ill-formed.rs | ||
issue-19660.rs | ||
issue-19660.stderr | ||
issue-31076.rs | ||
issue-31076.stderr | ||
issue-83471.rs | ||
issue-83471.stderr | ||
issue-86238.rs | ||
issue-86238.stderr | ||
issue-87573.rs | ||
issue-87573.stderr | ||
lang-item-generic-requirements.rs | ||
lang-item-generic-requirements.stderr | ||
lang-item-missing.rs | ||
lang-item-missing.stderr | ||
missing-clone-for-suggestion.rs | ||
missing-clone-for-suggestion.stderr | ||
required-lang-item.rs | ||
required-lang-item.stderr | ||
start_lang_item_args.argc.stderr | ||
start_lang_item_args.argv_inner_ptr.stderr | ||
start_lang_item_args.argv.stderr | ||
start_lang_item_args.main_args.stderr | ||
start_lang_item_args.main_ret.stderr | ||
start_lang_item_args.main_ty.stderr | ||
start_lang_item_args.missing_all_args.stderr | ||
start_lang_item_args.missing_ret.stderr | ||
start_lang_item_args.missing_sigpipe_arg.stderr | ||
start_lang_item_args.rs | ||
start_lang_item_args.sigpipe.stderr | ||
start_lang_item_args.start_ret.stderr | ||
start_lang_item_args.too_many_args.stderr | ||
start_lang_item_with_target_feature.rs | ||
start_lang_item_with_target_feature.stderr |