From 4fdbbcc2a032bf95e81426d1b98be579eb6d07f8 Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Wed, 12 Feb 2025 10:05:27 -0800 Subject: [PATCH] Fix copy-paste typo in error message when DRC collector is disabled (#10225) --- crates/cranelift/src/gc/enabled.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/cranelift/src/gc/enabled.rs b/crates/cranelift/src/gc/enabled.rs index f2b326801436..733bd00e37fb 100644 --- a/crates/cranelift/src/gc/enabled.rs +++ b/crates/cranelift/src/gc/enabled.rs @@ -29,7 +29,7 @@ pub fn gc_compiler(func_env: &FuncEnvironment<'_>) -> WasmResult Ok(Box::new(drc::DrcCompiler::default())), #[cfg(not(feature = "gc-drc"))] Some(Collector::DeferredReferenceCounting) => Err(wasm_unsupported!( - "the null collector is unavailable because the `gc-drc` feature \ + "the DRC collector is unavailable because the `gc-drc` feature \ was disabled at compile time", )),