Skip to content

Commit

Permalink
Fix copy-paste typo in error message when DRC collector is disabled (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
fitzgen authored Feb 12, 2025
1 parent c6b4eaf commit 4fdbbcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/cranelift/src/gc/enabled.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pub fn gc_compiler(func_env: &FuncEnvironment<'_>) -> WasmResult<Box<dyn GcCompi
Some(Collector::DeferredReferenceCounting) => 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",
)),

Expand Down

0 comments on commit 4fdbbcc

Please sign in to comment.