summaryrefslogtreecommitdiff
path: root/runtime/worker.rs
diff options
context:
space:
mode:
authorSatya Rohith <me@satyarohith.com>2024-07-29 22:28:04 +0530
committerGitHub <noreply@github.com>2024-07-29 12:58:04 -0400
commit8c2f1f5a55a2a9bb9e04c12236faa341b3fd49b6 (patch)
treef32705f9ab92d0f3f8c839f1cb00918fcd32cd05 /runtime/worker.rs
parent8bab761bccf976ac568b0b3f4decfd7e77747767 (diff)
chore: upgrade to rust 1.80 (#24778)
Diffstat (limited to 'runtime/worker.rs')
-rw-r--r--runtime/worker.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/worker.rs b/runtime/worker.rs
index bd67c8706..696786b56 100644
--- a/runtime/worker.rs
+++ b/runtime/worker.rs
@@ -448,7 +448,7 @@ impl MainWorker {
ops::web_worker::deno_web_worker::init_ops_and_esm().disable(),
];
- #[cfg(hmr)]
+ #[cfg(feature = "hmr")]
assert!(
cfg!(not(feature = "only_snapshotted_js_sources")),
"'hmr' is incompatible with 'only_snapshotted_js_sources'."