ui2: Do not enable 'stories' feature by default.

This cuts down LLVM IR size from 3 million lines to 700k in debug build.
This then leads to ~3s compile time in debug build (without incremental on ui itself), as opposed to 10.5s on main.
This commit is contained in:
Piotr Osiewicz 2023-11-19 11:41:29 +01:00
parent 9d8184670a
commit 31336b0b7d
4 changed files with 11 additions and 11 deletions

View file

@ -24,6 +24,7 @@ mod to_extract;
pub mod utils;
pub use components::*;
use gpui::actions;
pub use prelude::*;
pub use static_data::*;
pub use styled_ext::*;
@ -42,3 +43,8 @@ pub use crate::settings::*;
mod story;
#[cfg(feature = "stories")]
pub use story::*;
actions!(NoAction);
pub fn binding(key: &str) -> gpui::KeyBinding {
gpui::KeyBinding::new(key, NoAction {}, None)
}