Skip to content

Conversation

@dfaure-kdab
Copy link

Auto-loaded via the debugger_visualizer attribute. Tested on smolstr's unittest:

$ RUSTFLAGS="-C debuginfo=2 -C opt-level=0" cargo test -p smol_str --no-run $ rust-gdb target/debug/deps/test-a806b111557a7133 (gdb) break test::conversions
(gdb) run
(gdb) next
(gdb) print s
(and other locations in that file, to test the three cases: Inline, Static and Heap)

José Duarte and others added 30 commits August 3, 2020 22:32
Typo fix on grammar documentation
I assumer that's why there were already parentheses around the `':' Type`?
10: Allow type aliases in extern blocks r=jonas-schievink a=jonas-schievink

This is for the unstable feature rust-lang/rust#43467, which rustc uses internally

Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
11: Allow both const & async modifiers
 r=matklad a=matklad

bors r+
🤖

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
12: Fix .gitignore
 r=matklad a=matklad

bors r+
🤖

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
I don't really look at the results of the benchmarks anyway, so having
them in the repo creates a false sense of benchmarkdness.

If I get to implementing proper benchmarking, I'd probably stay away
from criterion -- we need something much much simpler for this crate.
23: modernize r=matklad a=matklad



Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Move towards upstream `macro_rules!` model
Veykril and others added 25 commits November 8, 2025 11:10
perf: Reduce memory usage of symbol index
internal: Move `SymbolsDatabase` over to new salsa style
Rename `downcast_[ref|mut]_unchecked` -> `downcast_unchecked_[ref|mut]`
perf: Only populate public items in dependency symbol index
…tmrx

lib: Bump editions to 2024 and remove legacy files
Example
---
```rust
fn main() { unsafe {1}.$0 }
```

**Before this PR**

```rust
fn main() { const unsafe {{1}} }
```

**After this PR**

```rust
fn main() { const { unsafe {1} } }
```
Book>Contributing>Testing: Fix typos and distracting word choices
…x-with-modifier-block

Fix .const missing block on with modifier block
Fix not parse never type in inherent impl
Add guard support for replace_if_let_with_match
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 10, 2025
@dfaure-kdab dfaure-kdab force-pushed the wip/dfaure/smolstr_pretty_printer branch from c743f1c to 3712013 Compare November 10, 2025 12:25
Auto-loaded via the debugger_visualizer attribute.
Tested on smolstr's unittest:

$ RUSTFLAGS="-C debuginfo=2 -C opt-level=0" cargo test -p smol_str --no-run
$ rust-gdb target/debug/deps/test-a806b111557a7133
(gdb) break test::conversions
(gdb) run
(gdb) next
(gdb) print s
(and other locations in that file, to test the three cases: Inline,
Static and Heap)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.