1use gpui::actions;
2
3// If the zed binary doesn't use anything in this crate, it will be optimized away
4// and the actions won't initialize. So we just provide an empty initialization function
5// to be called from main.
6//
7// These may provide relevant context:
8// https://github.com/rust-lang/rust/issues/47384
9// https://github.com/mmastrac/rust-ctor/issues/280
10pub fn init() {}
11
12actions!(
13 Cancel,
14 Confirm,
15 SecondaryConfirm,
16 SelectPrev,
17 SelectNext,
18 SelectFirst,
19 SelectLast,
20 ShowContextMenu
21);