mirror of
https://github.com/denoland/deno.git
synced 2025-09-29 21:54:48 +00:00
introduce unstable flag, make a few things unstable (#4892)
This commit is contained in:
parent
b28e60ecaf
commit
0c47cd6785
11 changed files with 49 additions and 0 deletions
|
@ -39,6 +39,7 @@ pub fn op_open_plugin(
|
|||
args: Value,
|
||||
_zero_copy: Option<ZeroCopyBuf>,
|
||||
) -> Result<JsonOp, OpError> {
|
||||
state.check_unstable("Deno.openPlugin");
|
||||
let args: OpenPluginArgs = serde_json::from_value(args).unwrap();
|
||||
let filename = deno_fs::resolve_from_cwd(Path::new(&args.filename))?;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue