rust/compiler
bors ce4beebecb Auto merge of #146683 - clarfonthey:safe-intrinsics, r=RalfJung,Amanieu
Mark float intrinsics with no preconditions as safe

Note: for ease of reviewing, the list of safe intrinsics is sorted in the first commit, and then safe intrinsics are added in the second commit.

All *recently added* float intrinsics have been correctly marked as safe to call due to the fact that they have no preconditions. This adds the remaining float intrinsics which are safe to call to the safe intrinsic list, and removes the unsafe blocks around their calls.

---

Side note: this may want a try run before being added to the queue, since I'm not sure if there's any tier-2 code that uses these intrinsics that might not be tested on the usual PR flow. We've already uncovered a few places in subtrees that do this, and it's worth double-checking before clogging up the queue.
2025-09-22 14:35:46 +00:00
..
rustc Make llvm_enzyme a regular cargo feature 2025-09-15 15:31:56 +00:00
rustc_abi Rollup merge of #144066 - RalfJung:extern-c-variadics, r=workingjubilee 2025-09-02 17:08:52 +02:00
rustc_arena Introduce Arena::try_alloc_from_iter. 2025-04-19 01:13:18 +00:00
rustc_ast c-variadic: reject functions with unsupported extern ABI 2025-09-09 21:38:38 +02:00
rustc_ast_ir turn pointer width into an integer in target.json 2025-08-27 23:44:49 +02:00
rustc_ast_lowering Introduce hir::ImplItemImplKind 2025-09-12 15:14:15 -05:00
rustc_ast_passes Rollup merge of #146434 - folkertdev:c-variadic-inherent-methods, r=workingjubilee 2025-09-18 17:20:56 +02:00
rustc_ast_pretty Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_attr_parsing Port #[macro_export] to the new attribute parsing infrastructure 2025-09-21 10:42:47 -04:00
rustc_baked_icu_data Use default locale fallback data 2025-08-28 09:48:54 +00:00
rustc_borrowck Rollup merge of #146717 - amandasystems:remove-placeholder-hack, r=lcnr 2025-09-18 17:20:59 +02:00
rustc_builtin_macros Rollup merge of #146598 - bjorn3:feature_llvm_enzyme, r=davidtwco 2025-09-17 20:29:36 +02:00
rustc_codegen_cranelift Rollup merge of #146664 - fmease:clean-up-dyn, r=jdonszelmann 2025-09-18 11:48:51 +10:00
rustc_codegen_gcc Support ctr and lr as clobber-only registers in PowerPC inline assembly 2025-09-21 13:48:22 +09:00
rustc_codegen_llvm Rollup merge of #146845 - Zalathar:prof-target-machine, r=Kobzol 2025-09-22 20:25:15 +10:00
rustc_codegen_ssa Rollup merge of #146793 - folkertdev:naked-asm-func-end, r=Amanieu 2025-09-21 14:42:35 +10:00
rustc_const_eval Rollup merge of #146597 - modhanami:add-struct-tail-recursion-limit-span, r=oli-obk 2025-09-18 17:20:57 +02:00
rustc_data_structures avoid calling insert_presorted more than once 2025-09-10 08:40:12 +02:00
rustc_driver compiler: Add Windows resources to rustc-main and rustc_driver 2025-09-05 14:06:31 -04:00
rustc_driver_impl fixes for numerous clippy warnings 2025-09-19 20:56:07 +00:00
rustc_error_codes Changes to the uitests 2025-08-27 20:25:18 +02:00
rustc_error_messages Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_errors fix: Filter suggestion parts that match existing code 2025-09-04 17:42:13 -06:00
rustc_expand Port #[macro_export] to the new attribute parsing infrastructure 2025-09-21 10:42:47 -04:00
rustc_feature initial implementation of the darwin_objc unstable feature 2025-09-13 16:06:22 -07:00
rustc_fluent_macro Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_fs_util Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_graphviz
rustc_hashes
rustc_hir Port #[macro_export] to the new attribute parsing infrastructure 2025-09-21 10:42:47 -04:00
rustc_hir_analysis Auto merge of #146683 - clarfonthey:safe-intrinsics, r=RalfJung,Amanieu 2025-09-22 14:35:46 +00:00
rustc_hir_id rustc_hir_id: Add a comment explaining why the crate exists 2025-08-20 15:04:00 -07:00
rustc_hir_pretty Rollup merge of #146102 - fmease:rm-dead-eff-code-iii, r=fee1-dead 2025-09-02 17:08:58 +02:00
rustc_hir_typeck Rollup merge of #146770 - hkBst:clippy-fix-10, r=fmease 2025-09-20 17:55:04 +02:00
rustc_incremental Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_index Rollup merge of #144091 - thaliaarchi:stabilize-new-zeroed, r=Mark-Simulacrum 2025-09-21 14:42:33 +10:00
rustc_index_macros Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_infer Auto merge of #145993 - lcnr:allow-calling-opaques, r=BoxyUwU 2025-09-18 13:49:53 +00:00
rustc_interface fixes for numerous clippy warnings 2025-09-19 20:56:07 +00:00
rustc_lexer Rollup merge of #146106 - epage:whitespace, r=fee1-dead 2025-09-03 23:08:10 +10:00
rustc_lint Port #[macro_export] to the new attribute parsing infrastructure 2025-09-21 10:42:47 -04:00
rustc_lint_defs Port #[macro_export] to the new attribute parsing infrastructure 2025-09-21 10:42:47 -04:00
rustc_llvm emit attribute for readonly non-pure inline assembly 2025-09-21 21:16:06 +02:00
rustc_log Update tracing, again 2025-09-08 09:23:37 -07:00
rustc_macros Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_metadata Don't store defaultness for inherent impl items 2025-09-12 15:14:15 -05:00
rustc_middle Rollup merge of #146597 - modhanami:add-struct-tail-recursion-limit-span, r=oli-obk 2025-09-18 17:20:57 +02:00
rustc_mir_build Remove Rvalue::Len. 2025-09-16 22:23:19 +00:00
rustc_mir_dataflow Rollup merge of #146664 - fmease:clean-up-dyn, r=jdonszelmann 2025-09-18 11:48:51 +10:00
rustc_mir_transform Auto merge of #146659 - cjgillot:impossible-taint, r=oli-obk 2025-09-21 16:28:12 +00:00
rustc_monomorphize Auto merge of #145717 - BoxyUwU:erase_regions_rename, r=lcnr 2025-09-09 15:04:44 +00:00
rustc_next_trait_solver canonical: yeet EvalCtxt, mk Canonicalizer private 2025-09-18 23:56:20 +02:00
rustc_parse Detect top-level ... in argument type 2025-09-16 11:38:08 -07:00
rustc_parse_format Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_passes Port #[macro_export] to the new attribute parsing infrastructure 2025-09-21 10:42:47 -04:00
rustc_pattern_analysis Remove DynKind 2025-09-17 04:46:46 +02:00
rustc_privacy Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_proc_macro Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_public Rollup merge of #146664 - fmease:clean-up-dyn, r=jdonszelmann 2025-09-18 11:48:51 +10:00
rustc_public_bridge Remove useless lifetime parameter. 2025-07-23 23:54:37 +00:00
rustc_query_impl fixup limit handling code 2025-09-08 15:07:12 -07:00
rustc_query_system fixup limit handling code 2025-09-08 15:07:12 -07:00
rustc_resolve Move more early buffered lints to dyn lint diagnostics (3/N) 2025-09-14 12:38:12 +02:00
rustc_sanitizers Remove DynKind 2025-09-17 04:46:46 +02:00
rustc_serialize Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_session generate list of all variants with target_spec_enum 2025-09-19 22:14:50 +00:00
rustc_span Support ctr and lr as clobber-only registers in PowerPC inline assembly 2025-09-21 13:48:22 +09:00
rustc_symbol_mangling Remove DynKind 2025-09-17 04:46:46 +02:00
rustc_target Rollup merge of #146858 - Gelbpunkt:mips64el-musl-dynamic, r=jieyouxu 2025-09-22 20:25:17 +10:00
rustc_thread_pool Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_trait_selection move mod canonical out of eval_ctxt 2025-09-18 23:56:20 +02:00
rustc_traits erase_regions to erase_and_anonymize_regions 2025-09-09 14:49:16 +02:00
rustc_transmute Driveby fixes 2025-09-09 14:49:16 +02:00
rustc_ty_utils Rollup merge of #146597 - modhanami:add-struct-tail-recursion-limit-span, r=oli-obk 2025-09-18 17:20:57 +02:00
rustc_type_ir Auto merge of #145993 - lcnr:allow-calling-opaques, r=BoxyUwU 2025-09-18 13:49:53 +00:00
rustc_type_ir_macros Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_windows_rc Allow windows resource compiler to be overridden 2025-09-18 16:50:02 +00:00