A lightweight WebAssembly runtime that is fast, secure, and standards-compliant
Fix typos in gc.rs and CMakeLists.txt (#11791)
maradini77e05fc538088d
diff --git a/crates/environ/src/gc.rs b/crates/environ/src/gc.rsindex d9e771b02f..f15e2b8cb9 100644--- a/crates/environ/src/gc.rs+++ b/crates/environ/src/gc.rs@@ -231,7 +231,7 @@ pub trait GcTypeLayouts {WasmCompositeInnerType::Struct(ty) => Some(self.struct_layout(ty).into()),WasmCompositeInnerType::Func(_) => None,WasmCompositeInnerType::Cont(_) => {- unimplemented!("Stack switching feature not compatbile with GC, yet")+ unimplemented!("Stack switching feature not compatible with GC, yet")}WasmCompositeInnerType::Exn(ty) => Some(self.exn_layout(ty).into()),}diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txtindex 33e40b61f5..f338dd1856 100644--- a/examples/CMakeLists.txt+++ b/examples/CMakeLists.txt@@ -15,7 +15,7 @@ function(CREATE_TARGET TARGET TARGET_PATH)endif()# This is only used in fib-debug.c right now and it only works with static- # linking beacuse the required symbols aren't exported in the shared library, so+ # linking because the required symbols aren't exported in the shared library, so# only when shared libs are disabled is this turned on.if (NOT BUILD_SHARED_LIBS)target_compile_definitions(wasmtime-${TARGET} PRIVATE WASMTIME_TEST_ONLY)