rust/compiler
Ayush Singh 9f0a8620bd
Improve generating Custom entry function
This commit is aimed at making compiler generated entry functions
(Basically just C `main` right now) more generic so other targets can do
similar things for custom entry. This was initially implemented as part
of https://github.com/rust-lang/rust/pull/100316.

Currently, this moves the entry function name and Call convention to the
target spec.

Signed-off-by: Ayush Singh <ayushsingh1325@gmail.com>
2022-11-11 01:04:39 +05:30
..
rustc
rustc_apfloat
rustc_arena
rustc_ast rustdoc: use ThinVec for cleaned generics 2022-11-02 16:17:22 -07:00
rustc_ast_lowering rustdoc: use ThinVec for cleaned generics 2022-11-02 16:17:22 -07:00
rustc_ast_passes
rustc_ast_pretty
rustc_attr
rustc_borrowck Rollup merge of #103868 - compiler-errors:trait-engine-less, r=jackh726 2022-11-05 00:02:04 +01:00
rustc_builtin_macros rustdoc: use ThinVec for cleaned generics 2022-11-02 16:17:22 -07:00
rustc_codegen_cranelift Rewrite implementation of #[alloc_error_handler] 2022-10-31 16:32:57 +00:00
rustc_codegen_gcc Rewrite implementation of #[alloc_error_handler] 2022-10-31 16:32:57 +00:00
rustc_codegen_llvm Improve generating Custom entry function 2022-11-11 01:04:39 +05:30
rustc_codegen_ssa Improve generating Custom entry function 2022-11-11 01:04:39 +05:30
rustc_const_eval Rollup merge of #103868 - compiler-errors:trait-engine-less, r=jackh726 2022-11-05 00:02:04 +01:00
rustc_data_structures Rollup merge of #103845 - camsteffen:data-structures-track-caller, r=compiler-errors 2022-11-04 12:18:01 +01:00
rustc_driver Auto merge of #103217 - mejrs:track, r=eholk 2022-11-01 21:09:45 +00:00
rustc_error_codes Update E0382.md 2022-10-31 00:41:12 -04:00
rustc_error_messages Rollup merge of #103792 - JhonnyBillM:migrate-codegen-ssa-to-diagnostics-structs-pt2, r=davidtwco 2022-11-04 18:52:27 +01:00
rustc_errors Rollup merge of #103792 - JhonnyBillM:migrate-codegen-ssa-to-diagnostics-structs-pt2, r=davidtwco 2022-11-04 18:52:27 +01:00
rustc_expand Auto merge of #103217 - mejrs:track, r=eholk 2022-11-01 21:09:45 +00:00
rustc_feature Rewrite implementation of #[alloc_error_handler] 2022-10-31 16:32:57 +00:00
rustc_fs_util
rustc_graphviz
rustc_hir Add visit_fn_ret_ty to hir intravisit 2022-11-03 10:41:22 -03:00
rustc_hir_analysis Refactor tcx mk_const parameters. 2022-11-04 20:33:32 +00:00
rustc_hir_pretty
rustc_hir_typeck Rollup merge of #103868 - compiler-errors:trait-engine-less, r=jackh726 2022-11-05 00:02:04 +01:00
rustc_incremental Rename some OwnerId fields. 2022-10-29 20:28:38 +11:00
rustc_index
rustc_infer Refactor tcx mk_const parameters. 2022-11-04 20:33:32 +00:00
rustc_interface Auto merge of #103217 - mejrs:track, r=eholk 2022-11-01 21:09:45 +00:00
rustc_lexer
rustc_lint Rollup merge of #103868 - compiler-errors:trait-engine-less, r=jackh726 2022-11-05 00:02:04 +01:00
rustc_lint_defs
rustc_llvm LLVM 16: Switch to using MemoryEffects 2022-11-04 17:58:16 +00:00
rustc_log
rustc_macros Rollup merge of #103575 - Xiretza:suggestions-style-attr, r=davidtwco 2022-11-01 20:00:38 -04:00
rustc_metadata Auto merge of #103217 - mejrs:track, r=eholk 2022-11-01 21:09:45 +00:00
rustc_middle Rollup merge of #103984 - V0ldek:103974-refactor-mk_const, r=BoxyUwU 2022-11-05 00:02:06 +01:00
rustc_mir_build Rollup merge of #103984 - V0ldek:103974-refactor-mk_const, r=BoxyUwU 2022-11-05 00:02:06 +01:00
rustc_mir_dataflow
rustc_mir_transform Formatting changes + add UI test 2022-11-04 12:58:20 +00:00
rustc_monomorphize Fix ICE when negative impl is collected during eager mono 2022-11-04 03:08:28 +00:00
rustc_parse Rollup merge of #103703 - Nilstrieb:flag-recovery-1, r=compiler-errors 2022-11-02 22:32:03 +05:30
rustc_parse_format
rustc_passes Rollup merge of #103397 - crlf0710:port_dead_code_lint, r=davidtwco 2022-11-04 18:52:26 +01:00
rustc_plugin_impl
rustc_privacy Rename some OwnerId fields. 2022-10-29 20:28:38 +11:00
rustc_query_impl rustdoc: use ThinVec for cleaned generics 2022-11-02 16:17:22 -07:00
rustc_query_system rustdoc: use ThinVec for cleaned generics 2022-11-02 16:17:22 -07:00
rustc_resolve Rollup merge of #103953 - TaKO8Ki:remove-unused-arg-from-throw_unresolved_import_error, r=oli-obk 2022-11-04 12:18:03 +01:00
rustc_save_analysis Rename some OwnerId fields. 2022-10-29 20:28:38 +11:00
rustc_serialize rustdoc: use ThinVec for cleaned generics 2022-11-02 16:17:22 -07:00
rustc_session Rollup merge of #103610 - wesleywiser:thinlto_cgu1, r=michaelwoerister 2022-11-02 22:06:26 +01:00
rustc_smir
rustc_span Rollup merge of #97971 - Soveu:varargs, r=jackh726 2022-10-30 19:31:36 -07:00
rustc_symbol_mangling Refactor tcx mk_const parameters. 2022-11-04 20:33:32 +00:00
rustc_target Improve generating Custom entry function 2022-11-11 01:04:39 +05:30
rustc_trait_selection Rollup merge of #103984 - V0ldek:103974-refactor-mk_const, r=BoxyUwU 2022-11-05 00:02:06 +01:00
rustc_traits Refactor tcx mk_const parameters. 2022-11-04 20:33:32 +00:00
rustc_transmute Rollup merge of #103915 - chenyukang:yukang/fix-103874, r=lcnr 2022-11-04 06:40:32 +01:00
rustc_ty_utils Refactor tcx mk_const parameters. 2022-11-04 20:33:32 +00:00
rustc_type_ir deprecate DelaySpanBugEmitted and use ErrorGuaranteed directly 2022-11-02 23:15:49 +08:00