Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
109 commits
Select commit Hold shift + click to select a range
e3d7f45
Merge ref '139651428df8' from rust-lang/rust
invalid-email-address Feb 16, 2026
05a7dc7
Merge pull request #2777 from rust-lang/rustc-pull
tshepang Feb 16, 2026
c493613
Merge ref 'c78a29473a68' from rust-lang/rust
invalid-email-address Feb 23, 2026
c580492
Merge pull request #2783 from rust-lang/rustc-pull
reddevilmidzy Feb 23, 2026
c47848a
Merge pull request #2749 from rust-lang/date-check-compiletest
tshepang Feb 23, 2026
c7fe0cd
Merge ref 'eda4fc7733ee' from rust-lang/rust
invalid-email-address Mar 9, 2026
587288e
Merge pull request #2792 from rust-lang/rustc-pull
tshepang Mar 9, 2026
6160650
Merge pull request #2788 from rust-lang/update-autodiff-installation
ZuseZ4 Mar 10, 2026
f802809
Merge ref '91021ccc7904' from rust-lang/rust
invalid-email-address Mar 18, 2026
bd04c84
Merge pull request #2799 from rust-lang/rustc-pull
tshepang Mar 18, 2026
2d69c93
Merge pull request #2796 from Ko496-glitch/update-date-check-march-2026
jyn514 Mar 23, 2026
d2c4fb8
Merge pull request #2812 from lcnr/main
lcnr Mar 30, 2026
3c32faf
Merge pull request #2813 from lcnr/main
lcnr Mar 30, 2026
627ae22
Merge ref '9602bda1dd0c' from rust-lang/rust
invalid-email-address Apr 6, 2026
08704a6
Merge pull request #2823 from rust-lang/rustc-pull
reddevilmidzy Apr 6, 2026
74a5403
Merge pull request #2801 from malezjaa/new-on-unimplemented-match-values
tshepang Apr 8, 2026
b8d50d3
Merge pull request #2800 from reddevilmidzy/ast-low
tshepang Apr 8, 2026
b91dea9
Merge pull request rust-lang/rustc-dev-guide#2821 from apiraino/fix-n…
reddevilmidzy Apr 13, 2026
cea668f
Merge pull request rust/rustc-dev-guide#2814 from erfanio/main
reddevilmidzy Apr 17, 2026
11b53e2
Merge ref 'e22c616e4e87' from rust-lang/rust
invalid-email-address Apr 20, 2026
154f9c7
Merge pull request #2840 from rust-lang/rustc-pull
tshepang Apr 20, 2026
5126b37
Merge pull request rust-lang/rustc-dev-guide#2830 from DanielEScherze…
reddevilmidzy Apr 21, 2026
ef077c9
Merge pull request #2844 from rust-lang/aj/rustc-internals-docs-clarity
tshepang Apr 22, 2026
8ddb0d5
Merge ref '045b17737dab' from rust-lang/rust
invalid-email-address May 4, 2026
caf5c74
Merge pull request rust-lang/rustc-dev-guide#2863 from rust-lang/rust…
reddevilmidzy May 4, 2026
4c240ea
Merge pull request #2857 from xkevio/patch-1
jyn514 May 7, 2026
ae3f025
Merge ref 'f2b291d902bf' from rust-lang/rust
invalid-email-address May 8, 2026
8a33be3
Merge pull request #2866 from rust-lang/rustc-pull
tshepang May 8, 2026
947934c
Merge pull request rust-lang/rustc-dev-guide#2864 from cammeresi/2026…
reddevilmidzy May 10, 2026
94b242b
Merge pull request #2736 from xonx4l/non-def-vs-def
jyn514 May 21, 2026
1182dfa
Merge ref 'c58275e0369d' from rust-lang/rust
invalid-email-address May 30, 2026
7cb2ac0
Merge pull request #2885 from rust-lang/rustc-pull
tshepang May 30, 2026
fe1b02e
Merge pull request rust-lang/rustc-dev-guide#2884 from Herrtian/windo…
reddevilmidzy Jun 1, 2026
7aba0d1
Merge ref '8c75e93c5c76' from rust-lang/rust
invalid-email-address Jun 20, 2026
4f54f90
Merge pull request #2905 from rust-lang/rustc-pull
tshepang Jun 20, 2026
cf95a9c
Merge ref '7fb284d9037f' from rust-lang/rust
invalid-email-address Jun 29, 2026
03e7e0e
Merge pull request #2912 from rust-lang/rustc-pull
tshepang Jun 29, 2026
ab02de1
Add Well-formedness dev guide page
BoxyUwU Jun 29, 2026
c3a7346
Merge pull request #2910 from activexray/main
ZuseZ4 Jun 29, 2026
158cd10
Merge ref '9e71b3bc704e' from rust-lang/rust
invalid-email-address Jul 20, 2026
b87cc2c
Merge pull request #2934 from rust-lang/rustc-pull
tshepang Jul 22, 2026
d781f13
Merge pull request #2940 from rust-lang/tshepang/misc
tshepang Jul 23, 2026
9f50a9f
Merge pull request #2835 from jyn514/llm-policy
jyn514 Aug 5, 2026
abef3fb
Merge ref '969b803cbe1d' from rust-lang/rust
invalid-email-address Aug 10, 2026
af79d55
Merge pull request #2952 from rust-lang/rustc-pull
tshepang Aug 11, 2026
e21d648
Merge pull request #2955 from RalfJung/derive-diagnostic
tshepang Aug 11, 2026
6e89392
Merge ref 'e64c8a664d9d' from rust-lang/rust
invalid-email-address Aug 11, 2026
785769e
Merge pull request #2960 from rust-lang/rustc-pull
tshepang Aug 11, 2026
443ffd0
Merge pull request #2959 from mejrs/attrs
tshepang Aug 13, 2026
0652cf6
Merge pull request #2942 from blyxyas/feedable-query-mod
tshepang Aug 13, 2026
cf8bda0
Merge pull request #2964 from jyn514/x-fixups
jyn514 Aug 14, 2026
12f7f8f
Merge pull request #2939 from Jamesbarford/chore/rustc_type_ir-macro-…
lcnr Aug 14, 2026
5abf57c
Merge ref '2c39ff499469' from rust-lang/rust
invalid-email-address Aug 17, 2026
441030f
Merge pull request #2970 from rust-lang/rustc-pull
tshepang Aug 17, 2026
665d65c
Merge pull request #2947 from Walnut356/di_test
jyn514 Aug 17, 2026
d0443fc
Merge pull request #2938 from aland-omed/docs/neovim-workspace-folder…
jyn514 Aug 17, 2026
793d3b1
Merge ref 'da5114692c9e' from rust-lang/rust
invalid-email-address Aug 24, 2026
540cf81
Merge pull request #2981 from rust-lang/rustc-pull
tshepang Aug 24, 2026
2c7acc4
Merge pull request #2985 from rust-lang/tshepang-patch-1
tshepang Aug 27, 2026
adcab48
Merge pull request #2987 from jyn514/query-touchups
jyn514 Aug 29, 2026
167f10b
Merge pull request #2988 from jyn514/reading-club
jieyouxu Aug 29, 2026
650e123
Merge ref '71238e21fc55' from rust-lang/rust
invalid-email-address Sep 4, 2026
6d92b93
Merge pull request #3003 from rust-lang/rustc-pull
tshepang Sep 4, 2026
78fbfc0
Merge pull request #2993 from jyn514/track-broken-links
jyn514 Sep 10, 2026
03d74df
Merge ref '56fad885ebfb' from rust-lang/rust
invalid-email-address Sep 21, 2026
d5ffae9
Merge pull request #3030 from rust-lang/rustc-pull
tshepang Sep 21, 2026
598a1e4
Merge pull request #3016 from Walnut356/gdb_di_test
jieyouxu Sep 27, 2026
180845f
Merge ref '7d2cd0fbc092' from rust-lang/rust
tshepang Sep 30, 2026
0a94d32
Merge pull request #3038 from rust-lang/tshepang/pull
tshepang Sep 30, 2026
8048354
Merge ref '260f1acad9d7' from rust-lang/rust
invalid-email-address Oct 5, 2026
812e4cf
Merge pull request #3043 from rust-lang/rustc-pull
tshepang Oct 5, 2026
972a1f4
Run the generator from source root
Kobzol Oct 6, 2026
9722075
remove redundant unsafe
yilin0518 Oct 7, 2026
316c32a
add `core::arch::powerpc::ppcf128`
folkertdev Aug 14, 2026
44465b3
Rollup merge of #162156 - folkertdev:ppcf128, r=beetrees,tgross35
JonathanBrouwer Oct 7, 2026
a48d73c
Rollup merge of #163925 - Kobzol:rustc-perf-update, r=lqd
JonathanBrouwer Oct 7, 2026
a7e4208
Rollup merge of #163658 - jchlanda:jakub/key_disc_fix, r=nnethercote
JonathanBrouwer Oct 7, 2026
72ee40b
Rollup merge of #163854 - saethlin:gvn-intern-alignment, r=oli-obk
JonathanBrouwer Oct 7, 2026
d96445c
Rollup merge of #163874 - lcnr:ice-on-fresh-vars, r=oli-obk
JonathanBrouwer Oct 7, 2026
c4fba26
Rollup merge of #163880 - maxdexh:dont-pollute-path, r=clubby789
JonathanBrouwer Oct 7, 2026
87f7e1d
Rollup merge of #163893 - joshtriplett:ast-path-hash-args, r=nnethercote
JonathanBrouwer Oct 7, 2026
5940b14
Rollup merge of #163894 - lcnr:tait-in-env-bug, r=lqd
JonathanBrouwer Oct 7, 2026
04a23b9
Rollup merge of #163902 - traviscross:TC/add-reference-annotations_cl…
JonathanBrouwer Oct 7, 2026
8c87fd9
Rollup merge of #163905 - Jules-Bertholet:bootstrap-tweak, r=Kobzol
JonathanBrouwer Oct 7, 2026
a7e5cca
Rollup merge of #163921 - khyperia:abby-dsl-ambiguity, r=BoxyUwU
JonathanBrouwer Oct 7, 2026
ac1e988
Rollup merge of #163927 - khyperia:abby-dsl-predicates-syntax, r=BoxyUwU
JonathanBrouwer Oct 7, 2026
4f03ed4
Rollup merge of #163933 - mati865:push-kwsxznlovwtp, r=clubby789
JonathanBrouwer Oct 7, 2026
781f213
Rollup merge of #163937 - BoxyUwU:abby_empty_forall_dsl, r=khyperia
JonathanBrouwer Oct 7, 2026
4a6bf8e
Auto merge of #163945 - JonathanBrouwer:rollup-1F2ngED, r=JonathanBro…
bors Oct 7, 2026
c8f583b
Auto merge of #156674 - xonx4l:port-stdarch-gen, r=Kobzol
bors Oct 8, 2026
ecb8f89
Auto merge of #163881 - weihanglo:update-cargo, r=weihanglo
bors Oct 8, 2026
57e3b7b
Auto merge of #163321 - aerooneqq:local-def-index, r=oli-obk,petroche…
bors Oct 8, 2026
b4f0922
Auto merge of #163959 - joshtriplett:upgrade-thin-vec, r=nnethercote
bors Oct 8, 2026
8ef5c16
Auto merge of #163906 - joshtriplett:veccache-optimize-present, r=nne…
bors Oct 9, 2026
3e1c58e
Auto merge of #163915 - joshtriplett:mir-shrink-to-fit, r=nnethercote
bors Oct 9, 2026
216cca9
Auto merge of #164034 - maxdexh:global-alloc-dangling, r=clarfonthey
bors Oct 10, 2026
40fd17e
Merge ref '5ec56e390265' from rust-lang/rust
invalid-email-address Oct 10, 2026
c08b1c5
Merge pull request #3048 from rust-lang/rustc-pull
tshepang Oct 10, 2026
c9bd3e1
Auto merge of #163398 - RalfJung:thread-local-key-inner, r=joboet
bors Oct 11, 2026
a2814a8
Rollup merge of #163918 - yilin0518:fix_arm_hint, r=JohnTitor
JonathanBrouwer Oct 11, 2026
3bf54b4
Rollup merge of #164047 - JonathanBrouwer:expr-body, r=Kivooeo
JonathanBrouwer Oct 11, 2026
f14cc74
Rollup merge of #164154 - tshepang:rdg-sync, r=tshepang
JonathanBrouwer Oct 11, 2026
49f8bad
Auto merge of #164159 - JonathanBrouwer:rollup-saZbJ3D, r=JonathanBro…
bors Oct 11, 2026
c91b53a
Auto merge of #163521 - ywxt:btree_map_iter, r=Amanieu
bors Oct 11, 2026
24c0d1e
Auto merge of #163865 - cxnmai:file-macro-optimization, r=fmease
bors Oct 11, 2026
4d27969
Auto merge of #163235 - estebank:default-field-values-lint, r=fmease
bors Oct 12, 2026
8a3641e
Prepare for merging from rust-lang/rust
invalid-email-address Oct 12, 2026
125a723
Merge ref '03cbd412d986' from rust-lang/rust
invalid-email-address Oct 12, 2026
adb6972
Run `cargo fmt`
invalid-email-address Oct 12, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 30 additions & 12 deletions crates/core_arch/src/arm_shared/hints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@
))]
#[inline(always)]
#[unstable(feature = "stdarch_arm_hints", issue = "117218")]
pub unsafe fn __wfi() {
hint(HINT_WFI);
pub fn __wfi() {
// SAFETY: The right HINT_WFI constant is passed to the llvm intrinsic。
unsafe {
hint(HINT_WFI);
}
}

/// Generates a WFE (wait for event) hint instruction, or nothing.
Expand All @@ -36,8 +39,11 @@ pub unsafe fn __wfi() {
))]
#[inline(always)]
#[unstable(feature = "stdarch_arm_hints", issue = "117218")]
pub unsafe fn __wfe() {
hint(HINT_WFE);
pub fn __wfe() {
// SAFETY: The right HINT_WFE constant is passed to the llvm intrinsic。
unsafe {
hint(HINT_WFE);
}
}

/// Generates a SEV (send a global event) hint instruction.
Expand All @@ -54,8 +60,11 @@ pub unsafe fn __wfe() {
))]
#[inline(always)]
#[unstable(feature = "stdarch_arm_hints", issue = "117218")]
pub unsafe fn __sev() {
hint(HINT_SEV);
pub fn __sev() {
// SAFETY: The right HINT_SEV constant is passed to the llvm intrinsic。
unsafe {
hint(HINT_SEV);
}
}

/// Generates a send a local event hint instruction.
Expand All @@ -72,8 +81,11 @@ pub unsafe fn __sev() {
))]
#[inline(always)]
#[unstable(feature = "stdarch_arm_hints", issue = "117218")]
pub unsafe fn __sevl() {
hint(HINT_SEVL);
pub fn __sevl() {
// SAFETY: The right HINT_SEVL constant is passed to the llvm intrinsic。
unsafe {
hint(HINT_SEVL);
}
}

/// Generates a YIELD hint instruction.
Expand All @@ -94,8 +106,11 @@ pub unsafe fn __sevl() {
))]
#[inline(always)]
#[unstable(feature = "stdarch_arm_hints", issue = "117218")]
pub unsafe fn __yield() {
hint(HINT_YIELD);
pub fn __yield() {
// SAFETY: The right HINT_YIELD constant is passed to the llvm intrinsic。
unsafe {
hint(HINT_YIELD);
}
}

/// Generates an unspecified no-op instruction.
Expand All @@ -106,8 +121,11 @@ pub unsafe fn __yield() {
/// will increase execution time.
#[inline(always)]
#[unstable(feature = "stdarch_arm_hints", issue = "117218")]
pub unsafe fn __nop() {
crate::arch::asm!("nop", options(nomem, nostack, preserves_flags));
pub fn __nop() {
// SAFETY: `nop` performs no operation.
unsafe {
crate::arch::asm!("nop", options(nomem, nostack, preserves_flags));
}
}

unsafe extern "llvm-intrinsic" {
Expand Down
3 changes: 2 additions & 1 deletion crates/core_arch/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
maybe_uninit_as_bytes,
movrs_target_feature,
clflushopt_target_feature,
min_adt_const_params
min_adt_const_params,
lang_items
)]
#![cfg_attr(
test,
Expand Down
41 changes: 41 additions & 0 deletions crates/core_arch/src/powerpc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,47 @@

pub(crate) mod macros;

/// The IBM extended-precision (double-double) floating-point type.
// FIXME(ppcf128) improve the docs.
#[lang = "ppcf128"]
#[doc(alias = "__ibm128")]
#[doc(alias = "doubledouble")]
#[doc(alias = "f64f64")]
#[unstable(feature = "powerpc_ppcf128", issue = "163323")]
#[allow(non_camel_case_types)]
#[doc(cfg(any(target_arch = "powerpc", target_arch = "powerpc64")))]
#[derive(Clone, Copy)]
pub struct ppcf128(u128);

#[unstable(feature = "powerpc_ppcf128", issue = "163323")]
impl crate::fmt::Debug for ppcf128 {
fn fmt(&self, f: &mut crate::fmt::Formatter<'_>) -> crate::fmt::Result {
let (hi, lo) = self.to_components();
write!(f, "ppcf128({hi:?}, {lo:?})")
}
}

impl ppcf128 {
/// Returns the memory representation of this floating point number as a byte array in
/// native byte order.
#[unstable(feature = "powerpc_ppcf128", issue = "163323")]
#[inline]
pub const fn to_ne_bytes(self) -> [u8; 16] {
// SAFETY: every bit pattern of a `ppcf128` is a valid `[u8; 16]`.
unsafe { crate::mem::transmute::<ppcf128, [u8; 16]>(self) }
}

/// Returns the large and small component of this floating point number.
#[unstable(feature = "powerpc_ppcf128", issue = "163323")]
#[rustc_const_unstable(feature = "powerpc_ppcf128", issue = "163323")]
#[inline]
pub const fn to_components(self) -> (f64, f64) {
// SAFETY: every bit pattern of a `ppcf128` is a valid `[f64; 2]`.
let [large, small] = unsafe { crate::mem::transmute::<ppcf128, [f64; 2]>(self) };
(large, small)
}
}

mod altivec;
#[unstable(feature = "stdarch_powerpc", issue = "111145")]
pub use self::altivec::*;
Expand Down
18 changes: 10 additions & 8 deletions crates/stdarch-gen-loongarch/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ fn gen_spec(in_file: String, ext_name: &str) -> io::Result<()> {
Ok(())
}

fn gen_bind(in_file: &str, ext_name: &str, out_path: &Path) -> io::Result<()> {
let f = File::open(in_file).unwrap_or_else(|_| panic!("Failed to open {in_file}"));
fn gen_bind(path: &Path, filename: &str, ext_name: &str, out_path: &Path) -> io::Result<()> {
let f = File::open(path).unwrap_or_else(|_| panic!("Failed to open {path:?}"));
let f = BufReader::new(f);

let target: TargetFeature = TargetFeature::new(ext_name);
Expand All @@ -167,15 +167,15 @@ fn gen_bind(in_file: &str, ext_name: &str, out_path: &Path) -> io::Result<()> {
out.push_str(&format!(
r#"// This code is automatically generated. DO NOT MODIFY.
//
// Instead, modify `{in_file}` and run the following command to re-generate this file:
// Instead, modify `crates/stdarch-gen-loongarch/{filename}` and run the following command to re-generate this file:
//
// ```
// OUT_DIR=`pwd`/crates/core_arch cargo run -p stdarch-gen-loongarch -- {in_file}
// OUT_DIR=`pwd`/crates/core_arch cargo run -p stdarch-gen-loongarch -- crates/stdarch-gen-loongarch/{filename}
// ```

use crate::mem::transmute;
use super::super::*;
"#
"#,
));

out.push_str(
Expand Down Expand Up @@ -1631,10 +1631,11 @@ pub fn main() -> Result<(), String> {
let arguments = &args.arguments;
if arguments.len() == 1 && (arguments[0] == "lsx" || arguments[0] == "lasx") {
let extension = arguments[0].as_str();
let spec_rel = format!("crates/stdarch-gen-loongarch/{extension}.spec");
let filename = format!("{extension}.spec");
let path = crate_dir.join(&filename);
let committed = core_arch_src.join("loongarch64").join(extension);
run_generator(&ctx, &committed, mode, |out_dir| {
gen_bind(&spec_rel, extension, out_dir)
gen_bind(&path, &filename, extension, out_dir)
})
.map_err(|e| e.to_string())?;
} else {
Expand All @@ -1660,7 +1661,8 @@ pub fn main() -> Result<(), String> {
.join("src")
.join("loongarch64")
.join(ext_name);
gen_bind(&in_file, ext_name, &out_path).map_err(|e| e.to_string())?;
gen_bind(Path::new(&in_file), &in_file_name, ext_name, &out_path)
.map_err(|e| e.to_string())?;
}
Ok(())
}
2 changes: 1 addition & 1 deletion rust-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
260f1acad9d7f70b5b56a636a9dc5a7f76150417
03cbd412d98691c83227b65eddadb7b01db4a190