Sketch in core zed actions code
This commit is contained in:
parent
58f9ef99f7
commit
ec16e70336
5 changed files with 274 additions and 42 deletions
|
@ -1,5 +1,14 @@
|
|||
use gpui::{action, actions};
|
||||
|
||||
// If the zed binary doesn't use anything in this crate, it will be optimized away
|
||||
// and the actions won't initialize. So we just provide an empty initialization function
|
||||
// to be called from main.
|
||||
//
|
||||
// These may provide relevant context:
|
||||
// https://github.com/rust-lang/rust/issues/47384
|
||||
// https://github.com/mmastrac/rust-ctor/issues/280
|
||||
pub fn init() {}
|
||||
|
||||
actions!(
|
||||
About,
|
||||
DebugElements,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue