Call init
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
use gpui::actions;
|
||||
|
||||
// If the zed binary doesn't use anything in this crate, it will be optimized out
|
||||
// and the actions won't initialize. So we just call an empty initialization function.
|
||||
// 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() {}
|
||||
|
||||
Reference in New Issue
Block a user