Skip to content

Commit e05fc53

Browse files
authored
Fix typos in gc.rs and CMakeLists.txt (#11791)
* Update CMakeLists.txt * Update gc.rs
1 parent 48da313 commit e05fc53

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/environ/src/gc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ pub trait GcTypeLayouts {
231231
WasmCompositeInnerType::Struct(ty) => Some(self.struct_layout(ty).into()),
232232
WasmCompositeInnerType::Func(_) => None,
233233
WasmCompositeInnerType::Cont(_) => {
234-
unimplemented!("Stack switching feature not compatbile with GC, yet")
234+
unimplemented!("Stack switching feature not compatible with GC, yet")
235235
}
236236
WasmCompositeInnerType::Exn(ty) => Some(self.exn_layout(ty).into()),
237237
}

examples/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function(CREATE_TARGET TARGET TARGET_PATH)
1515
endif()
1616

1717
# This is only used in fib-debug.c right now and it only works with static
18-
# linking beacuse the required symbols aren't exported in the shared library, so
18+
# linking because the required symbols aren't exported in the shared library, so
1919
# only when shared libs are disabled is this turned on.
2020
if (NOT BUILD_SHARED_LIBS)
2121
target_compile_definitions(wasmtime-${TARGET} PRIVATE WASMTIME_TEST_ONLY)

0 commit comments

Comments
 (0)