rust/compiler
Dan Gohman 98ae83daae Mangle "main" as "__main_void" on wasm32-wasi
On wasm, the age-old C trick of having a main function which can either have
no arguments or argc+argv doesn't work, because wasm requires caller and
callee signatures to match. WASI's current strategy is to have compilers
mangle main's name to indicate which signature they're using. Rust uses the
no-argument form, which should be mangled as `__main_void`.

This is needed on wasm32-wasi as of #105395.
2022-12-08 13:15:40 -08:00
..
rustc rustc: Use unix_sigpipe instead of rustc_driver::set_sigpipe_handler 2022-10-02 17:49:36 +02:00
rustc_abi Auto merge of #105175 - michaelwoerister:add-stable-ord-trait, r=nagisa 2022-12-06 09:21:49 +00:00
rustc_apfloat
rustc_arena rustc_arena: remove a couple of ref patterns 2022-11-22 18:49:29 +00:00
rustc_ast Rollup merge of #105142 - nbdd0121:inline_const, r=petrochenkov 2022-12-04 11:38:51 +01:00
rustc_ast_lowering Rollup merge of #105343 - nbdd0121:hir, r=fee1-dead 2022-12-07 15:39:07 +01:00
rustc_ast_passes Auto merge of #104861 - nnethercote:attr-cleanups, r=petrochenkov 2022-12-01 07:13:45 +00:00
rustc_ast_pretty Remove outdated syntax from trait alias pretty printing 2022-12-06 13:45:11 +00:00
rustc_attr rustc_attr remove ref patterns 2022-12-06 14:45:58 +00:00
rustc_baked_icu_data Update crate documentation of rustc_baked_icu_data crate 2022-11-18 14:46:36 -08:00
rustc_borrowck Rollup merge of #105368 - WaffleLapkin:deref-even-harder, r=TaKO8Ki 2022-12-07 15:39:07 +01:00
rustc_builtin_macros rustc_builtin_macros: remove ref patterns 2022-12-06 14:45:58 +00:00
rustc_codegen_cranelift Auto merge of #97485 - bjorn3:new_archive_writer, r=wesleywiser 2022-12-03 15:07:39 +00:00
rustc_codegen_gcc Move linkage type check to HIR analysis and fix semantics issues. 2022-12-05 15:05:43 -08:00
rustc_codegen_llvm Move linkage type check to HIR analysis and fix semantics issues. 2022-12-05 15:05:43 -08:00
rustc_codegen_ssa fix: remove hack from link.rs (moved to libc) 2022-12-07 13:13:58 +03:00
rustc_const_eval Rollup merge of #105289 - Rageking8:fix-dupe-word-typos, r=cjgillot 2022-12-06 12:48:52 +09:00
rustc_data_structures Rollup merge of #104898 - oli-obk:group_all_the_things, r=wesleywiser 2022-12-06 16:54:52 +01:00
rustc_driver Remove -Zno-interleave-lints. 2022-12-02 13:59:28 +11:00
rustc_error_codes Support Option and similar enums as type of static variable with linkage attribute. 2022-12-05 15:05:43 -08:00
rustc_error_messages Auto merge of #104799 - pcc:linkage-fn, r=tmiasko 2022-12-07 10:24:59 +00:00
rustc_errors Rollup merge of #101975 - chenyukang:fix-101749, r=compiler-errors 2022-12-04 16:25:32 +01:00
rustc_expand Rollup merge of #104199 - SarthakSingh31:issue-97417-1, r=cjgillot 2022-12-03 17:37:41 +01:00
rustc_feature Stabilize native library modifier verbatim 2022-11-27 22:36:32 +03:00
rustc_fs_util Remove useless borrows and derefs 2022-12-01 17:34:43 +00:00
rustc_graphviz Remove useless borrows and derefs 2022-12-01 17:34:43 +00:00
rustc_hir Rollup merge of #105250 - Swatinem:async-rm-resumety, r=oli-obk 2022-12-06 16:54:54 +01:00
rustc_hir_analysis Auto merge of #104799 - pcc:linkage-fn, r=tmiasko 2022-12-07 10:24:59 +00:00
rustc_hir_pretty Remove outdated syntax from trait alias pretty printing 2022-12-06 13:45:11 +00:00
rustc_hir_typeck Rollup merge of #105267 - compiler-errors:issue-104613, r=oli-obk 2022-12-07 15:39:06 +01:00
rustc_incremental Prefer doc comments over //-comments in compiler 2022-11-27 11:19:04 +00:00
rustc_index move things from rustc_target::abi to rustc_abi 2022-11-24 16:26:13 +03:30
rustc_infer Make get_impl_future_output_ty work with AFIT 2022-12-05 17:34:42 +00:00
rustc_interface Rollup merge of #105286 - willcrichton:maximal-hir-to-mir-coverage, r=cjgillot 2022-12-06 16:54:55 +01:00
rustc_lexer update cpufeatures, swap difference to dissimilar 2022-11-29 19:59:37 +03:00
rustc_lint Rollup merge of #105267 - compiler-errors:issue-104613, r=oli-obk 2022-12-07 15:39:06 +01:00
rustc_lint_defs Make deref_into_dyn_supertrait lint the impl and not the usage 2022-11-23 15:40:27 +00:00
rustc_llvm Rollup merge of #105298 - krasimirgg:llvm-16-dec-1, r=cuviper 2022-12-06 23:13:49 +01:00
rustc_log Use IsTerminal in rustc_log 2022-10-16 15:10:40 +01:00
rustc_macros Auto merge of #105220 - oli-obk:feeding, r=cjgillot 2022-12-06 03:47:41 +00:00
rustc_metadata Remove all but one call site of prepare_outputs and fetch the value from the TyCtxt instead 2022-12-03 12:28:01 +00:00
rustc_middle Rollup merge of #105267 - compiler-errors:issue-104613, r=oli-obk 2022-12-07 15:39:06 +01:00
rustc_mir_build Rollup merge of #105267 - compiler-errors:issue-104613, r=oli-obk 2022-12-07 15:39:06 +01:00
rustc_mir_dataflow fix dupe word typos 2022-12-05 16:42:36 +08:00
rustc_mir_transform Auto merge of #105229 - saethlin:zst-writes-to-unions, r=oli-obk 2022-12-06 15:35:55 +00:00
rustc_monomorphize Prefer doc comments over //-comments in compiler 2022-11-27 11:19:04 +00:00
rustc_parse Rollup merge of #105098 - lyming2007:issue-103869-fix, r=eholk 2022-12-06 13:27:41 +01:00
rustc_parse_format shift no characters when using raw string literals 2022-11-15 14:28:20 +09:00
rustc_passes Rollup merge of #105267 - compiler-errors:issue-104613, r=oli-obk 2022-12-07 15:39:06 +01:00
rustc_plugin_impl Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_privacy drive-by: move field_index to typeck results 2022-12-04 17:59:21 +00:00
rustc_query_impl Auto merge of #104940 - cjgillot:query-feed-simple, r=oli-obk 2022-11-30 17:20:14 +00:00
rustc_query_system feed resolver_for_lowering instead of storing it in a field 2022-12-05 10:58:55 +00:00
rustc_resolve Rollup merge of #105289 - Rageking8:fix-dupe-word-typos, r=cjgillot 2022-12-06 12:48:52 +09:00
rustc_save_analysis rustc_hir: Change representation of import paths to support multiple resolutions 2022-12-01 18:51:05 +03:00
rustc_serialize rename {max=>largest}_max_leb128_len 2022-11-29 17:58:09 +00:00
rustc_session Rollup merge of #105286 - willcrichton:maximal-hir-to-mir-coverage, r=cjgillot 2022-12-06 16:54:55 +01:00
rustc_smir
rustc_span Rollup merge of #105362 - WaffleLapkin:🙅, r=oli-obk 2022-12-06 16:54:56 +01:00
rustc_symbol_mangling Rollup merge of #104786 - WaffleLapkin:amp-mut-help, r=compiler-errors 2022-11-26 17:47:23 +01:00
rustc_target Mangle "main" as "__main_void" on wasm32-wasi 2022-12-08 13:15:40 -08:00
rustc_trait_selection Rollup merge of #105400 - BoxyUwU:braced_param_evaluatability, r=oli-obk 2022-12-07 15:39:08 +01:00
rustc_traits Make ObligationCtxt::normalize take cause by borrow 2022-11-28 17:35:40 +00:00
rustc_transmute Auto merge of #103831 - chenyukang:yukang/fix-103751-ice, r=nagisa 2022-11-05 13:48:30 +00:00
rustc_ty_utils Auto merge of #105012 - WaffleLapkin:into, r=oli-obk 2022-11-29 13:28:44 +00:00
rustc_type_ir Rollup merge of #105362 - WaffleLapkin:🙅, r=oli-obk 2022-12-06 16:54:56 +01:00