summaryrefslogtreecommitdiff
path: root/runtime/web_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/web_worker.rs
parent8bab761bccf976ac568b0b3f4decfd7e77747767 (diff)
chore: upgrade to rust 1.80 (#24778)
Diffstat (limited to 'runtime/web_worker.rs')
-rw-r--r--runtime/web_worker.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/web_worker.rs b/runtime/web_worker.rs
index 2611b6f34..ed1e19c9e 100644
--- a/runtime/web_worker.rs
+++ b/runtime/web_worker.rs
@@ -514,7 +514,7 @@ impl WebWorker {
ops::web_worker::deno_web_worker::init_ops_and_esm(),
];
- #[cfg(hmr)]
+ #[cfg(feature = "hmr")]
assert!(
cfg!(not(feature = "only_snapshotted_js_sources")),
"'hmr' is incompatible with 'only_snapshotted_js_sources'."