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 menu,
14 [
15 Cancel,
16 Confirm,
17 SecondaryConfirm,
18 SelectPrevious,
19 SelectNext,
20 SelectFirst,
21 SelectLast,
22 Restart,
23 EndSlot,
24 ]
25);