diff options
Diffstat (limited to 'runtime')
| -rw-r--r-- | runtime/build.rs | 2 | ||||
| -rw-r--r-- | runtime/web_worker.rs | 5 | ||||
| -rw-r--r-- | runtime/worker.rs | 2 |
3 files changed, 6 insertions, 3 deletions
diff --git a/runtime/build.rs b/runtime/build.rs index 8c5772c67..0d1cf3bce 100644 --- a/runtime/build.rs +++ b/runtime/build.rs @@ -59,7 +59,7 @@ fn create_runtime_snapshot(snapshot_path: &Path, files: Vec<PathBuf>) { deno_broadcast_channel::InMemoryBroadcastChannel::default(), false, // No --unstable. ), - deno_net::init::<deno_net::NoNetPermissions>(false), // No --unstable. + deno_net::init::<deno_net::NoNetPermissions>(None, false), // No --unstable. deno_http::init(), ]; diff --git a/runtime/web_worker.rs b/runtime/web_worker.rs index acafb086b..bcbf71692 100644 --- a/runtime/web_worker.rs +++ b/runtime/web_worker.rs @@ -332,7 +332,10 @@ impl WebWorker { vec