mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -05:00
427b73c3ec
This commit deprecates "--unstable" flag. When "--unstable" flag is encountered a warning like this is printed: ``` The `--unstable` flag is deprecated, use granular `--unstable-*` flags instead. Learn more at: https://docs.deno.com/runtime/manual/tools/unstable_flags ``` When "--unstable" flag is used and an unstable API is called an additional warning like this is printed for each API call: ``` The `Deno.dlopen` API was used with `--unstable` flag. The `--unstable` flag is deprecated, use granular `--unstable-ffi` instead. Learn more at: https://docs.deno.com/runtime/manual/tools/unstable_flags ``` When no "--unstable-*" flag is provided and an unstable API is called following warning is issued before exiting: ``` Unstable API 'Deno.dlopen'. The `--unstable-ffi` flag must be provided. ``` --------- Signed-off-by: Divy Srivastava <dj.srivastava23@gmail.com> Signed-off-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com> Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com> |
||
---|---|---|
.. | ||
src | ||
tests | ||
.gitignore | ||
array_test.js | ||
arraybuffer_test.js | ||
async_test.js | ||
bigint_test.js | ||
build.rs | ||
callback_test.js | ||
Cargo.toml | ||
cleanup_hook_test.js | ||
coerce_test.js | ||
common.js | ||
date_test.js | ||
env_test.js | ||
error_test.js | ||
init_test.js | ||
make_callback_test.js | ||
mem_test.js | ||
module.c | ||
numbers_test.js | ||
object_wrap_test.js | ||
promise_test.js | ||
properties_test.js | ||
strings_test.js | ||
symbol_test.js | ||
typedarray_test.js |