1
Fork 0
rust/compiler
Guillaume Gomez 7709b7d44a
Rollup merge of #124023 - pacak:less-splody, r=jieyouxu
Allow workproducts without object files.

This pull request partially reverts changes from e16c3b4a44

Original motivation for this assert was described with "A WorkProduct without a saved file is useless"
which was true at the time but now it is possible to have work products with other types of files
(llvm-ir, asm, etc) and there are bugreports for this failure:

For example: https://github.com/rust-lang/rust/issues/123695

Fixes https://github.com/rust-lang/rust/issues/123234

Now existing `assert` and `.unwrap_or_else` are unified into a single
check that emits slightly more user friendly error message if an object
files was meant to be produced but it's missing
2024-04-16 21:41:27 +02:00
..
rustc
rustc_abi
rustc_arena
rustc_ast Rollup merge of #123512 - Jules-Bertholet:ref-pat-eat-one-layer-2024, r=Nadrieril 2024-04-16 21:41:24 +02:00
rustc_ast_ir
rustc_ast_lowering Use a path instead of an ident (and stop manually resolving) 2024-04-15 16:45:26 -04:00
rustc_ast_passes Parsing , pre-lowering support for precise captures 2024-04-15 16:45:01 -04:00
rustc_ast_pretty Auto merge of #123468 - compiler-errors:precise-capturing, r=oli-obk 2024-04-16 11:22:35 +00:00
rustc_attr
rustc_baked_icu_data
rustc_borrowck Rollup merge of #123990 - compiler-errors:suggest-closure-ret-deref, r=oli-obk 2024-04-16 15:19:14 +02:00
rustc_builtin_macros builtin-derive: tag → discriminant 2024-04-14 11:34:15 +02:00
rustc_codegen_cranelift
rustc_codegen_gcc
rustc_codegen_llvm Auto merge of #122917 - saethlin:atomicptr-to-int, r=nikic 2024-04-15 08:07:47 +00:00
rustc_codegen_ssa Rollup merge of #124023 - pacak:less-splody, r=jieyouxu 2024-04-16 21:41:27 +02:00
rustc_const_eval Rollup merge of #124024 - RalfJung:interpret-comment, r=oli-obk 2024-04-16 17:54:46 +02:00
rustc_data_structures Rollup merge of #123934 - WaffleLapkin:graph-mini-refactor, r=fmease 2024-04-15 16:56:18 +01:00
rustc_driver
rustc_driver_impl Fix pretty hir for anon consts in diagnostics 2024-04-15 18:48:12 -04:00
rustc_error_codes Update compiler/rustc_error_codes/src/error_codes/E0384.md 2024-04-12 22:43:38 +09:00
rustc_error_messages
rustc_errors Rollup merge of #123204 - notriddle:notriddle/include-str-span, r=pnkfelix 2024-04-12 17:41:32 +02:00
rustc_expand Rollup merge of #123462 - fmease:rn-mod-sep-to-path-sep, r=nnethercote 2024-04-16 01:12:37 +02:00
rustc_feature Rollup merge of #123512 - Jules-Bertholet:ref-pat-eat-one-layer-2024, r=Nadrieril 2024-04-16 21:41:24 +02:00
rustc_fluent_macro
rustc_fs_util
rustc_graphviz
rustc_hir Rollup merge of #122811 - nnethercote:mv-SourceMap-init, r=WaffleLapkin 2024-04-16 21:41:23 +02:00
rustc_hir_analysis Auto merge of #123468 - compiler-errors:precise-capturing, r=oli-obk 2024-04-16 11:22:35 +00:00
rustc_hir_pretty Auto merge of #123468 - compiler-errors:precise-capturing, r=oli-obk 2024-04-16 11:22:35 +00:00
rustc_hir_typeck Rollup merge of #123512 - Jules-Bertholet:ref-pat-eat-one-layer-2024, r=Nadrieril 2024-04-16 21:41:24 +02:00
rustc_incremental
rustc_index
rustc_index_macros
rustc_infer Rollup merge of #123979 - oli-obk:define_opaque_types7, r=compiler-errors 2024-04-16 21:41:26 +02:00
rustc_interface Rollup merge of #122811 - nnethercote:mv-SourceMap-init, r=WaffleLapkin 2024-04-16 21:41:23 +02:00
rustc_lexer
rustc_lint Rollup merge of #123501 - Urgau:stabilize-check-cfg, r=petrochenkov 2024-04-16 17:54:41 +02:00
rustc_lint_defs Rename feature gate 2024-04-15 23:27:21 -04:00
rustc_llvm Fix UB in LLVM FFI when passing zero or >1 bundle 2024-04-14 22:18:33 -04:00
rustc_log Construct SourceMap at the same time as SessionGlobals. 2024-04-16 13:02:53 +10:00
rustc_macros
rustc_metadata linker: Remove laziness and caching from native search directory walks 2024-04-12 17:28:00 +03:00
rustc_middle Rollup merge of #124016 - DaniPopes:dedup-default-providers, r=lcnr 2024-04-16 21:41:26 +02:00
rustc_mir_build Rollup merge of #123512 - Jules-Bertholet:ref-pat-eat-one-layer-2024, r=Nadrieril 2024-04-16 21:41:24 +02:00
rustc_mir_dataflow
rustc_mir_transform Rollup merge of #123934 - WaffleLapkin:graph-mini-refactor, r=fmease 2024-04-15 16:56:18 +01:00
rustc_monomorphize move the LargeAssignments lint logic into its own file 2024-04-14 18:09:44 +02:00
rustc_next_trait_solver
rustc_parse Auto merge of #123468 - compiler-errors:precise-capturing, r=oli-obk 2024-04-16 11:22:35 +00:00
rustc_parse_format
rustc_passes
rustc_pattern_analysis
rustc_privacy
rustc_query_impl move QueryKeyStringCache from rustc_middle to rustc_query_impl, where it actually used 2024-04-11 14:33:48 +03:00
rustc_query_system remove some things that do not need to be 2024-04-11 21:09:52 +02:00
rustc_resolve More polishing 2024-04-15 16:45:48 -04:00
rustc_sanitizers Update encode.rs 2024-04-14 14:56:41 +02:00
rustc_serialize Add add/sub methods that only panic with debug assertions to rustc 2024-04-13 17:03:12 +02:00
rustc_session Rollup merge of #122811 - nnethercote:mv-SourceMap-init, r=WaffleLapkin 2024-04-16 21:41:23 +02:00
rustc_smir
rustc_span Rollup merge of #123512 - Jules-Bertholet:ref-pat-eat-one-layer-2024, r=Nadrieril 2024-04-16 21:41:24 +02:00
rustc_symbol_mangling Update v0.rs 2024-04-14 15:01:04 +02:00
rustc_target Rollup merge of #123721 - madsmtm:fix-visionos, r=davidtwco 2024-04-16 15:19:13 +02:00
rustc_trait_selection Fail candidate assembly for erroneous types 2024-04-16 12:42:48 +05:30
rustc_traits
rustc_transmute
rustc_ty_utils Fail candidate assembly for erroneous types 2024-04-16 12:42:48 +05:30
rustc_type_ir Rollup merge of #123797 - amandasystems:better-graphviz, r=oli-obk 2024-04-16 15:19:14 +02:00
stable_mir