fix: build on stable toolchain and expose buffer font zoom

Merged
PS
4mo ago
+142-83

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_size in theme_settings so the UI can zoom buffer fonts.
  • Refactors

    • Replaced cfg_select! with #[cfg] in telemetry OS detection and WASI SDK asset selection; added a stable cold_path() in gpui and updated profiler and action timing code to use it instead of std::hint::cold_path.

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_size in theme settings, making it available as part of the module’s public surface.