pub fn register_architecture<A, F>(name: &str, func: F) -> &'static Awhere
A: 'static + Architecture<Handle = CustomArchitectureHandle<A>> + Send + Sync + Sized,
F: FnOnce(CustomArchitectureHandle<A>, CoreArchitecture) -> A,Expand description
Registers a new architecture with the given name.
NOTE: This function should only be called within CorePluginInit.