Commit 2978225
fix(api): guard allocation tracing RPC behind cfg feature flag
The `get_allocation_tracing_status` RPC handler unconditionally called
`is_allocation_tracing_enabled()`, which only exists behind the
`allocation-tracing` feature gate. This broke builds on feature sets
that lack it (e.g. `default-msvc`). Add cfg guards so the handler
returns `false` when the feature is absent.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent f451948 commit 2978225
2 files changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
573 | 573 | | |
574 | 574 | | |
575 | 575 | | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
576 | 581 | | |
577 | 582 | | |
578 | 583 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
440 | 440 | | |
441 | 441 | | |
442 | 442 | | |
| 443 | + | |
443 | 444 | | |
| 445 | + | |
| 446 | + | |
444 | 447 | | |
445 | 448 | | |
446 | 449 | | |
| |||
0 commit comments