Skip to content

Commit

Permalink
Update to moonc v0.1.20241210+3258bad5b
Browse files Browse the repository at this point in the history
Signed-off-by: Glenn Lewis <[email protected]>
  • Loading branch information
gmlewis committed Dec 10, 2024
1 parent c924bff commit 32c1ee3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -527,9 +527,9 @@ The code has been updated to support compiler:

```bash
$ moon version --all
moon 0.1.20241202 (28bfce6 2024-12-02) ~/.moon/bin/moon
moonc v0.1.20241202+8756d160d ~/.moon/bin/moonc
moonrun 0.1.20241202 (28bfce6 2024-12-02) ~/.moon/bin/moonrun
moon 0.1.20241209 (2848796 2024-12-09) ~/.moon/bin/moon
moonc v0.1.20241210+3258bad5b ~/.moon/bin/moonc
moonrun 0.1.20241209 (2848796 2024-12-09) ~/.moon/bin/moonrun
```

Use `moonup` to manage `moon` compiler versions:
Expand Down
2 changes: 1 addition & 1 deletion moon.mod.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "extism/moonbit-pdk",
"version": "0.44.0",
"version": "0.45.0",
"deps": {},
"readme": "README.md",
"repository": "https://github.com/extism/moonbit-pdk",
Expand Down
2 changes: 1 addition & 1 deletion pdk/string.mbt
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,5 @@ pub impl ToUtf16 for Bytes with to_utf16(b : Bytes) -> String {
buf.write_char(Char::from_int(code))
i += 1
}
buf.to_unchecked_string()
buf.contents().to_unchecked_string()
}

0 comments on commit 32c1ee3

Please sign in to comment.