You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We would like to stabilize some of the Deno APIs behind DENO_FUTURE=1 env var, namely:
All the file system APIs available in ext/fs
WebGPU APIs in ext/webgpu
Deno.dlopen and related APIs in ext/ffi
In other words, we don't want to perform check_unstable() calls in these APIs if DENO_FUTURE=1 env var is present.
This requires two separate changes:
For FS and FFI APIs we need to properly set up the unstable checker in cli/factory.rs to enable these two APIs if DENO_FUTURE is present
For the WebGPU API you want to enable it in exposeUnstableFeaturesForWindowOrWorkerGlobalScope in 99_main.js if the future setting in runtimeOptions is set to true.
We should add a single integration test that checks all these APIs being present without --unstable-* flags but with DENO_FUTURE=1 env var.
Skip changing type declarations for now.
The text was updated successfully, but these errors were encountered:
We would like to stabilize some of the
Deno
APIs behindDENO_FUTURE=1
env var, namely:ext/fs
ext/webgpu
Deno.dlopen
and related APIs inext/ffi
In other words, we don't want to perform
check_unstable()
calls in these APIs ifDENO_FUTURE=1
env var is present.This requires two separate changes:
cli/factory.rs
to enable these two APIs ifDENO_FUTURE
is presentexposeUnstableFeaturesForWindowOrWorkerGlobalScope
in99_main.js
if thefuture
setting inruntimeOptions
is set to true.We should add a single integration test that checks all these APIs being present without
--unstable-*
flags but withDENO_FUTURE=1
env var.Skip changing type declarations for now.
The text was updated successfully, but these errors were encountered: