From 0f48313565ed2620efbd9d0f2203b57f8f126e6a Mon Sep 17 00:00:00 2001 From: Satya Rohith Date: Fri, 14 Jun 2024 17:10:57 +0530 Subject: chore: upgrade to rust 1.79 (#24207) --- cli/standalone/mod.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cli/standalone') diff --git a/cli/standalone/mod.rs b/cli/standalone/mod.rs index b71e47ceb..e2a53e468 100644 --- a/cli/standalone/mod.rs +++ b/cli/standalone/mod.rs @@ -264,7 +264,9 @@ fn arc_u8_to_arc_str( // SAFETY: the string is valid UTF-8, and the layout Arc<[u8]> is the same as // Arc. This is proven by the From> impl for Arc<[u8]> from the // standard library. - Ok(unsafe { std::mem::transmute(arc_u8) }) + Ok(unsafe { + std::mem::transmute::, std::sync::Arc>(arc_u8) + }) } struct StandaloneModuleLoaderFactory { @@ -548,7 +550,6 @@ pub async fn run( CliMainWorkerOptions { argv: metadata.argv, log_level: WorkerLogLevel::Info, - coverage_dir: None, enable_op_summary_metrics: false, enable_testing_features: false, has_node_modules_dir, -- cgit v1.2.3