mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 10:59:13 +00:00
chore: upgrade deno_core (#25674)
No functional changes, just removes dead code.
This commit is contained in:
parent
01b5dfd9ea
commit
aaf2bf4bfb
10 changed files with 15 additions and 44 deletions
|
@ -17,11 +17,7 @@ use deno_core::OpState;
|
|||
|
||||
/// Helper for checking unstable features. Used for sync ops.
|
||||
pub fn check_unstable(state: &OpState, feature: &str, api_name: &str) {
|
||||
// TODO(bartlomieju): replace with `state.feature_checker.check_or_exit`
|
||||
// once we phase out `check_or_exit_with_legacy_fallback`
|
||||
state
|
||||
.feature_checker
|
||||
.check_or_exit_with_legacy_fallback(feature, api_name);
|
||||
state.feature_checker.check_or_exit(feature, api_name);
|
||||
}
|
||||
|
||||
pub struct TestingFeaturesEnabled(pub bool);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue