From d5b938c46c24d8c2e32303ffc9f5d6a81793b0cb Mon Sep 17 00:00:00 2001 From: "Sean T. Allen" Date: Sat, 3 Oct 2026 20:41:14 -0400 Subject: [PATCH] Update to work with ponyc 0.75.0 Array.clone() now returns iso^ when the element type is val. The clone result here is used as ref, so it needs an explicit type annotation. --- README.md | 2 +- cmd/_os.pony | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0fe84e1..a44276e 100644 --- a/README.md +++ b/README.md @@ -142,7 +142,7 @@ From there the team can either point you at an existing platform identifier or a ## Development -Building from source requires ponyc 0.69.1 or later. +Building from source requires ponyc 0.75.0 or later. ### Vendored LibreSSL diff --git a/cmd/_os.pony b/cmd/_os.pony index e73d91a..8703963 100644 --- a/cmd/_os.pony +++ b/cmd/_os.pony @@ -119,7 +119,7 @@ primitive Packages See also https://clang.llvm.org/docs/CrossCompilation.html#target-triple """ - let platform' = (consume platform).clone() + let platform': Array[String] ref = (consume platform).clone() // ignore vendor identifier in full target triple if platform'.size() > 3 then platform'.trim_in_place(0, 4)