| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-09-26 | Auto merge of #145882 - m-ou-se:format-args-extend-1-arg, r=petrochenkov | bors | -0/+6 | |
| Extended temporary argument to format_args!() in all cases Fixes https://github.com/rust-lang/rust/issues/145880 by removing the special case. | ||||
| 2025-09-12 | Improve `core::fmt` coverage | Christian Poveda | -0/+51 | |
| 2025-08-26 | Add test. | Mara Bos | -0/+6 | |
| 2025-06-18 | Add test for new format_args!() temporary lifetimes. | Mara Bos | -0/+15 | |
| 2025-06-10 | format integer tests regrouped, min/max coverage and 128-bit coverage | Pascal S. de Kloe | -36/+121 | |
| 2025-03-22 | Auto merge of #136974 - m-ou-se:fmt-options-64-bit, r=scottmcm | bors | -0/+20 | |
| Reduce FormattingOptions to 64 bits This is part of https://github.com/rust-lang/rust/issues/99012 This reduces FormattingOptions from 6-7 machine words (384 bits on 64-bit platforms, 224 bits on 32-bit platforms) to just 64 bits (a single register on 64-bit platforms). Before: ```rust pub struct FormattingOptions { flags: u32, // only 6 bits used fill: char, align: Option<Alignment>, width: Option<usize>, precision: Option<usize>, } ``` After: ```rust pub struct FormattingOptions { /// Bits: /// - 0-20: fill character (21 bits, a full `char`) /// - 21: `+` flag /// - 22: `-` flag /// - 23: `#` flag /// - 24: `0` flag /// - 25: `x?` flag /// - 26: `X?` flag /// - 27: Width flag (if set, the width field below is used) /// - 28: Precision flag (if set, the precision field below is used) /// - 29-30: Alignment (0: Left, 1: Right, 2: Center, 3: Unknown) /// - 31: Always set to 1 flags: u32, /// Width if width flag above is set. Otherwise, always 0. width: u16, /// Precision if precision flag above is set. Otherwise, always 0. precision: u16, } ``` | ||||
| 2025-03-21 | Add test for Formatter flags. | Mara Bos | -0/+20 | |
| 2025-03-18 | Remove the regex dependency from coretests | bjorn3 | -19/+11 | |
| It is only used by a single test, yet would take up unnecessary space once stdlib deps get vendored. | ||||
| 2025-02-15 | core: Make `Debug` impl of raw pointers print metadata if present | Martin Nordholts | -4/+4 | |
| Make Rust pointers less magic by including metadata information in their `Debug` output. This does not break Rust stability guarantees because `Debug` output is explicitly exempted from stability: https://doc.rust-lang.org/std/fmt/trait.Debug.html#stability Co-authored-by: Lukas <26522220+lukas-code@users.noreply.github.com> Co-authored-by: Josh Stone <cuviper@gmail.com> | ||||
| 2025-02-15 | tests: Add regression test for `Debug` impl of raw pointers | Martin Nordholts | -0/+31 | |
| 2025-02-15 | tests: Use `as *const _` instead of `.as_ptr()` in ptr fmt test | Martin Nordholts | -2/+2 | |
| Because `.as_ptr()` changes the type of the pointer (e.g. `&[u8]` becomes `*const u8` instead of `*const [u8]`), and it can't be expected that different types will be formatted the same way. | ||||
| 2025-01-26 | Put all coretests in a separate crate | bjorn3 | -0/+1541 | |
