mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Rust: add stub for ensure_sufficient_stack (#2943)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
pub fn ensure_sufficient_stack<R>(f: impl FnOnce() -> R) -> R {
|
||||
f()
|
||||
}
|
||||
Reference in New Issue
Block a user