rust/library/core/src
Matthias Krüger 94cc01af15
Rollup merge of #132136 - RalfJung:target-feature-abi-compat, r=Mark-Simulacrum
ABI compatibility: remove section on target features

Once https://github.com/rust-lang/rust/pull/127731 lands, we will properly diagnose ABI issues caused by target feature mismatch (at least on tier 1 targets). So I'd say we can remove the corresponding part of the docs here -- this is now something the compiler can take care of, so programmers don't need to be concerned. For now this is just a lint, but that's just a transition period, like in prior cases where we fix I-unsound bugs by adding a new check that goes through the "future incompatibility" stages. We have decided that it's actually a bug that we have ABI risks around target features, and we shouldn't document that bug as-if it was intended behavior.

Cc `@rust-lang/opsem` `@chorman0773` `@veluca93`
2024-11-10 10:09:52 +01:00
..
alloc make const_alloc_layout feature gate only about functions that are already stable 2024-11-01 14:32:59 +01:00
array Auto merge of #132458 - RalfJung:rustc-const-unstable, r=Amanieu 2024-11-03 02:32:48 +00:00
ascii
async_iter
cell Re-do recursive const stability checks 2024-10-25 20:31:40 +02:00
char Auto merge of #132500 - RalfJung:char-is-whitespace-const, r=jhpratt 2024-11-06 04:07:32 +00:00
clone
cmp
convert
ffi add const_eval_select macro to reduce redundancy 2024-11-05 09:26:08 +01:00
fmt Fixed typo, rebased 2024-11-04 12:43:57 -05:00
future
hash remove const_hash feature leftovers 2024-11-02 11:27:14 +01:00
intrinsics remove support for rustc_safe_intrinsic attribute; use rustc_intrinsic functions instead 2024-11-08 09:16:00 +01:00
io
iter Remove do_not_const_check from Iterator methods 2024-10-30 19:24:34 +00:00
macros add const_eval_select macro to reduce redundancy 2024-11-05 09:26:08 +01:00
mem get rid of a whole bunch of unnecessary rustc_const_unstable attributes 2024-11-02 09:59:55 +01:00
net get rid of a whole bunch of unnecessary rustc_const_unstable attributes 2024-11-02 09:59:55 +01:00
num Rollup merge of #132665 - tyilo:nonzero-u-div-ceil, r=joboet 2024-11-07 13:08:27 +01:00
ops Rename the FIXMEs, remove a few that dont matter anymore 2024-11-03 18:59:41 +00:00
panic stabilize const_arguments_as_str 2024-11-03 07:49:24 +01:00
prelude
ptr add const_eval_select macro to reduce redundancy 2024-11-05 09:26:08 +01:00
range
slice Add new unstable feature const_eq_ignore_ascii_case 2024-11-05 22:22:31 -05:00
str Add new unstable feature const_eq_ignore_ascii_case 2024-11-05 22:22:31 -05:00
sync get rid of a whole bunch of unnecessary rustc_const_unstable attributes 2024-11-02 09:59:55 +01:00
task get rid of a whole bunch of unnecessary rustc_const_unstable attributes 2024-11-02 09:59:55 +01:00
unicode Auto merge of #132500 - RalfJung:char-is-whitespace-const, r=jhpratt 2024-11-06 04:07:32 +00:00
any.rs
arch.rs update bootstrap configs 2024-10-15 20:30:23 -07:00
ascii.rs
asserting.rs
bool.rs
borrow.rs
cell.rs Rollup merge of #131261 - clarfonthey:unsafe-cell-from-mut, r=m-ou-se 2024-11-05 23:43:55 +01:00
clone.rs
cmp.rs library: consistently use American spelling for 'behavior' 2024-10-25 12:02:47 +02:00
default.rs
error.md
error.rs
escape.rs
hint.rs Re-do recursive const stability checks 2024-10-25 20:31:40 +02:00
internal_macros.rs
lib.miri.rs
lib.rs Add new unstable feature const_eq_ignore_ascii_case 2024-11-05 22:22:31 -05:00
marker.rs Auto merge of #131284 - dingxiangfei2009:rename-smart-ptr-to-coerce-referent, r=compiler-errors 2024-10-27 17:04:12 +00:00
option.rs library: consistently use American spelling for 'behavior' 2024-10-25 12:02:47 +02:00
panic.rs add const_eval_select macro to reduce redundancy 2024-11-05 09:26:08 +01:00
panicking.rs add const_eval_select macro to reduce redundancy 2024-11-05 09:26:08 +01:00
pat.rs
pin.rs Rename Receiver -> LegacyReceiver 2024-10-22 12:55:16 +00:00
primitive_docs.rs Rollup merge of #132136 - RalfJung:target-feature-abi-compat, r=Mark-Simulacrum 2024-11-10 10:09:52 +01:00
primitive.rs
random.rs
range.rs
result.rs update bootstrap configs 2024-10-15 20:30:23 -07:00
time.rs get rid of a whole bunch of unnecessary rustc_const_unstable attributes 2024-11-02 09:59:55 +01:00
tuple.rs
ub_checks.rs add const_eval_select macro to reduce redundancy 2024-11-05 09:26:08 +01:00
unit.rs