diff --git a/.config/dictionaries/project.dic b/.config/dictionaries/project.dic index d5f2a2527..8aed91b0d 100644 --- a/.config/dictionaries/project.dic +++ b/.config/dictionaries/project.dic @@ -104,6 +104,7 @@ maindbname mapref mdlint mdns +metno miniprotocol miniprotocols mithril diff --git a/.earthlyignore b/.earthlyignore new file mode 100644 index 000000000..77f6e2cd7 --- /dev/null +++ b/.earthlyignore @@ -0,0 +1,2 @@ +.git +**/target \ No newline at end of file diff --git a/Earthfile b/Earthfile index 6e6ddaa60..7afb765b4 100644 --- a/Earthfile +++ b/Earthfile @@ -3,10 +3,8 @@ VERSION 0.8 IMPORT github.com/input-output-hk/catalyst-ci/earthly/mdlint:v3.2.15 AS mdlint-ci IMPORT github.com/input-output-hk/catalyst-ci/earthly/cspell:v3.2.15 AS cspell-ci -FROM debian:stable-slim - # cspell: words livedocs sitedocs - + # check-markdown : markdown check using catalyst-ci. check-markdown: DO mdlint-ci+CHECK @@ -19,21 +17,13 @@ markdown-check-fix: # clean-spelling-list : Make sure the project dictionary is properly sorted. clean-spelling-list: + FROM debian:stable-slim DO cspell-ci+CLEAN # check-spelling : Check spelling in this repo inside a container. check-spelling: DO cspell-ci+CHECK -# spell-list-words : List words in a dictionary -spell-list-words: - FROM ghcr.io/streetsidesoftware/cspell:8.0.0 - WORKDIR /work - - COPY . . - - RUN cspell-cli --words-only --unique "wasm/**" | sort -f - # repo-docs : target to store the documentation from the root of the repo. repo-docs: # Create artifacts of extra files we embed inside the documentation when its built. diff --git a/cspell.json b/cspell.json index 5fa6208b6..904209897 100644 --- a/cspell.json +++ b/cspell.json @@ -141,12 +141,14 @@ // "dotnet", // "elixir", "filetypes", + "flutter", "fonts", // "fsharp", "fullstack", // "gaming-terms", "git", // "golang", + // "google", // "haskell", "html", "html-symbol-entities", diff --git a/wasm/wasi-hermes-component-adapter/build.rs b/wasm/wasi-hermes-component-adapter/build.rs index 96d644ccf..14913ef9d 100644 --- a/wasm/wasi-hermes-component-adapter/build.rs +++ b/wasm/wasi-hermes-component-adapter/build.rs @@ -237,6 +237,8 @@ fn build_raw_intrinsics() -> Vec { module.finish() } +// cspell: words libfoo + /// This function produces the output of `llvm-ar crus libfoo.a foo.o` given /// the object file above as input. The archive is what's eventually fed to /// LLD. diff --git a/wasm/wasi-hermes-component-adapter/src/descriptors.rs b/wasm/wasi-hermes-component-adapter/src/descriptors.rs index 4271297f5..1ebc7773d 100644 --- a/wasm/wasi-hermes-component-adapter/src/descriptors.rs +++ b/wasm/wasi-hermes-component-adapter/src/descriptors.rs @@ -290,7 +290,7 @@ impl Descriptors { Descriptor::Closed(next) => *next, _ => unreachable!("impossible: freelist points to a closed descriptor"), }; - // Write descriptor to the entry at the nead of the list + // Write descriptor to the entry at the head of the list *freelist_desc = d; // Point closed to the following item self.closed = next_closed; diff --git a/wasm/wasi-hermes-component-adapter/src/lib.rs b/wasm/wasi-hermes-component-adapter/src/lib.rs index 7e324a094..a54062eaa 100644 --- a/wasm/wasi-hermes-component-adapter/src/lib.rs +++ b/wasm/wasi-hermes-component-adapter/src/lib.rs @@ -116,7 +116,7 @@ macro_rules! cfg_filesystem_available { // The unwrap/expect methods in std pull panic when they fail, which pulls // in unwinding machinery that we can't use in the adapter. Instead, use this -// extension trait to get postfixed upwrap on Option and Result. +// extension trait to get postfixed unwrap on Option and Result. #[allow(clippy::missing_docs_in_private_items)] trait TrappingUnwrap { fn trapping_unwrap(self) -> T;