fix: build on stable toolchain and expose buffer font zoom
Merged
PS
4mo ago+142+142+012345678901234567890123456789-83-83-01234567890123456789
Summary by cubic
Build now works on stable Rust by removing nightly-only macros/hints, and buffer font zoom is now controllable from the UI via theme_settings.
-
New Features
- Re-exported
adjust_buffer_font_sizeintheme_settingsso the UI can zoom buffer fonts.
- Re-exported
-
Refactors
- Replaced
cfg_select!with#[cfg]in telemetry OS detection and WASI SDK asset selection; added a stablecold_path()ingpuiand updated profiler and action timing code to use it instead ofstd::hint::cold_path.
- Replaced
Summary by CodeRabbit
-
Bug Fixes
- Improved OS version detection across platforms, with more reliable reporting and clearer fallback behavior when system details are unavailable.
- Fixed platform-specific asset selection to ensure the correct extension package is chosen more consistently.
-
Refactor / Performance
- Reduced unnecessary profiling overhead on non-profiling paths by using an internal cold-path hint for early exits.
-
API Changes
- Re-exported
adjust_buffer_font_sizein theme settings, making it available as part of the module’s public surface.
- Re-exported