pub fn register_architecture_with_function_context<A, F>(
name: &str,
func: F,
) -> &'static Awhere
A: 'static + ArchitectureWithFunctionContext<Handle = CustomArchitectureHandle<A>> + Send + Sync + Sized,
F: FnOnce(CustomArchitectureHandle<A>, CoreArchitecture) -> A,