Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
aa460dc
tests: Add `RUST_BACKTRACE` and `-Cpanic` revisions to `panic-main.rs…
Enselic Jun 10, 2025
653bb64
Remove LtoModuleCodegen
bjorn3 Jul 3, 2025
7fd78df
Move dcx creation into WriteBackendMethods::codegen
bjorn3 Jul 3, 2025
ee280a5
Fat LTO always produces a single object file, so -Zcombine-cgu has no…
bjorn3 Jul 3, 2025
797084d
Split generate_lto_work between fat and thin-LTO cases
bjorn3 Jul 3, 2025
332f1b1
Pass in autodiff items when starting the coordinator thread
bjorn3 Jul 3, 2025
779cb00
Move run_fat_lto call into execute_fat_lto_work_item
bjorn3 Jul 3, 2025
9a3aa8f
Remove unnecessary check for fat LTO
bjorn3 Jul 3, 2025
8d63c7a
Remove unused config param from WriteBackendMethods::autodiff
bjorn3 Jul 3, 2025
21026ca
Merge run_fat_lto, optimize_fat and autodiff into run_and_optimize_fa…
bjorn3 Jul 3, 2025
a7eefc3
Enable xgot feature for mips64 musl targets
Gelbpunkt Jul 4, 2025
2412f89
UWP: link ntdll functions using raw-dylib
ChrisDenton Jul 7, 2025
803b4d2
core: Remove `BorrowedCursor::init_ref` method
a1phyr Jul 9, 2025
34555f1
core: Remove `BorrowedCursor::uninit_mut`
a1phyr Jul 9, 2025
65df668
core: Change `BorrowedCursor::written`'s origin
a1phyr Jul 9, 2025
81a6f18
added error for invalid char cast
Kivooeo Jul 9, 2025
5d7db7e
Fixed a core crate compilation failure when enabling the `optimize_fo…
nazo6 Jul 12, 2025
f58accb
pass --gc-sections if -Zexport-executable-symbols is enabled and impr…
usamoi Jul 12, 2025
ef726a4
Ensure proper item queries for assoc tys
compiler-errors Jul 13, 2025
549a5d8
Dont collect assoc ty item bounds from trait where clause for host ef…
compiler-errors Jul 13, 2025
8daf98b
Imply always-const host effects the same as any other item bound
compiler-errors Jul 13, 2025
5e1c387
remove no_gc_sections
usamoi Jul 14, 2025
4a77a62
rustc_resolve: rename `check_hidden_glob_reexports` to `lint_reexports`
mladedav Jul 15, 2025
8b868fa
Implement resolver warnings about reexporting private dependencies
mladedav Jul 12, 2025
d627e25
make `std_detect` public dependency of `std`
mladedav Jul 12, 2025
4b421d4
Fix handling of SCRIPT_ARG in docker images
nikic Jul 15, 2025
3f2dc2b
add `const_make_global`; err for `const_allocate` ptrs if didn't call
fee1-dead Jul 7, 2025
44b38ca
format pointer later instead of eagerly converting to string
fee1-dead Jul 10, 2025
fd48b7b
Comment more code and make tests clearer
fee1-dead Jul 13, 2025
bbb114e
ci cleanup: rustdoc-gui-test now installs browser-ui-test
lolbinarycat Jul 12, 2025
8d64937
trait_sel: `MetaSized` always holds temporarily
davidtwco Jul 16, 2025
8f854d9
const heap: fix ICE on forgotten make_global
RalfJung Jul 16, 2025
0bf0860
simplfy memory kind handling during interning
RalfJung Jul 16, 2025
fb7aa9e
Improve path segment joining.
nnethercote May 27, 2025
6414352
Use `join_path_syms` in one more place.
nnethercote Jun 20, 2025
a5df2d6
Rollup merge of #142304 - Enselic:panic-main-revisions, r=compiler-er…
fmease Jul 16, 2025
9e0ada2
Rollup merge of #143388 - bjorn3:lto_refactors, r=compiler-errors
fmease Jul 16, 2025
3904913
Rollup merge of #143409 - Gelbpunkt:xgot-mips64-musl, r=compiler-errors
fmease Jul 16, 2025
e3482ff
Rollup merge of #143592 - ChrisDenton:uwp-link, r=Mark-Simulacrum
fmease Jul 16, 2025
8c95e53
Rollup merge of #143595 - fee1-dead-contrib:push-sylpykzkmynr, r=Ralf…
fmease Jul 16, 2025
8d710ff
Rollup merge of #143678 - Kivooeo:char-overflow, r=SparrowLii
fmease Jul 16, 2025
acdfc83
Rollup merge of #143820 - nazo6:fix-optimize-for-size, r=Mark-Simulacrum
fmease Jul 16, 2025
fbbc558
Rollup merge of #143829 - a1phyr:trim_borrowed_buf, r=ChrisDenton
fmease Jul 16, 2025
1e84db6
Rollup merge of #143846 - usamoi:gc, r=bjorn3
fmease Jul 16, 2025
3354133
Rollup merge of #143851 - lolbinarycat:bootstrap-node_modules, r=Kobzol
fmease Jul 16, 2025
8e005e4
Rollup merge of #143856 - mladedav:dm/private-reexport, r=petrochenkov
fmease Jul 16, 2025
1ee1845
Rollup merge of #143895 - compiler-errors:trait-wc-item-bound-host-ef…
fmease Jul 16, 2025
d6ef91d
Rollup merge of #143922 - nnethercote:join_path, r=petrochenkov
fmease Jul 16, 2025
68cf811
Rollup merge of #143964 - nikic:docker-script-arg, r=marcoieni
fmease Jul 16, 2025
93c4509
Rollup merge of #144016 - davidtwco:sized-hierarchy-temp-pseudo-rever…
fmease Jul 16, 2025
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
8 changes: 4 additions & 4 deletions library/core/src/fmt/num.rs
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ macro_rules! impl_Display {
}
#[cfg(feature = "optimize_for_size")]
{
offset = _inner_slow_integer_to_str(self.unsigned_abs().$conv_fn(), &mut buf.buf);
offset = ${concat(_inner_slow_integer_to_str, $gen_name)}(self.unsigned_abs().$conv_fn(), &mut buf.buf);
}
// Only difference between signed and unsigned are these 4 lines.
if self < 0 {
Expand Down Expand Up @@ -401,7 +401,7 @@ macro_rules! impl_Display {
}
#[cfg(feature = "optimize_for_size")]
{
offset = _inner_slow_integer_to_str(self.$conv_fn(), &mut buf.buf);
offset = ${concat(_inner_slow_integer_to_str, $gen_name)}(self.$conv_fn(), &mut buf.buf);
}
// SAFETY: Starting from `offset`, all elements of the slice have been set.
unsafe { slice_buffer_to_str(&buf.buf, offset) }
Expand All @@ -412,7 +412,7 @@ macro_rules! impl_Display {
)*

#[cfg(feature = "optimize_for_size")]
fn _inner_slow_integer_to_str(mut n: $u, buf: &mut [MaybeUninit::<u8>]) -> usize {
fn ${concat(_inner_slow_integer_to_str, $gen_name)}(mut n: $u, buf: &mut [MaybeUninit::<u8>]) -> usize {
let mut curr = buf.len();

// SAFETY: To show that it's OK to copy into `buf_ptr`, notice that at the beginning
Expand All @@ -437,7 +437,7 @@ macro_rules! impl_Display {
const MAX_DEC_N: usize = $u::MAX.ilog(10) as usize + 1;
let mut buf = [MaybeUninit::<u8>::uninit(); MAX_DEC_N];

let offset = _inner_slow_integer_to_str(n, &mut buf);
let offset = ${concat(_inner_slow_integer_to_str, $gen_name)}(n, &mut buf);
// SAFETY: Starting from `offset`, all elements of the slice have been set.
let buf_slice = unsafe { slice_buffer_to_str(&buf, offset) };
f.pad_integral(is_nonnegative, "", buf_slice)
Expand Down
1 change: 1 addition & 0 deletions library/core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@
#![feature(lang_items)]
#![feature(link_llvm_intrinsics)]
#![feature(macro_metavar_expr)]
#![feature(macro_metavar_expr_concat)]
#![feature(marker_trait_attr)]
#![feature(min_specialization)]
#![feature(multiple_supertrait_upcastable)]
Expand Down