summaryrefslogtreecommitdiff
path: root/runtime/examples
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/examples')
-rw-r--r--runtime/examples/hello_runtime.rs16
1 files changed, 1 insertions, 15 deletions
diff --git a/runtime/examples/hello_runtime.rs b/runtime/examples/hello_runtime.rs
index ac872c192..f44c774fb 100644
--- a/runtime/examples/hello_runtime.rs
+++ b/runtime/examples/hello_runtime.rs
@@ -28,21 +28,7 @@ async fn main() -> Result<(), AnyError> {
});
let options = WorkerOptions {
- bootstrap: BootstrapOptions {
- args: vec![],
- cpu_count: 1,
- debug_flag: false,
- enable_testing_features: false,
- locale: deno_core::v8::icu::get_language_tag(),
- location: None,
- no_color: false,
- is_tty: false,
- runtime_version: "x".to_string(),
- ts_version: "x".to_string(),
- unstable: false,
- user_agent: "hello_runtime".to_string(),
- inspect: false,
- },
+ bootstrap: BootstrapOptions::default(),
extensions: vec![],
startup_snapshot: None,
unsafely_ignore_certificate_errors: None,