-
-
Notifications
You must be signed in to change notification settings - Fork 414
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rotate release notes as part of the 0.58.4 release
- Loading branch information
1 parent
ae348bf
commit d411ed9
Showing
2 changed files
with
43 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
## Fix compiler crash | ||
|
||
Previously the following code would cause the compiler to crash. Now it will display a helpful error message: | ||
|
||
```pony | ||
struct FFIBytes | ||
var ptr: Pointer[U8 val] = Pointer[U8].create() | ||
var length: USize = 0 | ||
fun iso string(): String val => | ||
recover String.from_cpointer(consume FFIBytes.ptr, consume FFIBytes.length) end | ||
actor Main | ||
new create(env: Env) => | ||
env.out.print("nothing to see here") | ||
``` | ||
|
||
## Add prebuilt ponyc binaries for Ubuntu 24.04 | ||
|
||
We've added prebuilt ponyc binaries specifically made to work on Ubuntu 24.04. | ||
|
||
You can opt into using the Ubuntu binaries when using ponyup by running: | ||
|
||
```bash | ||
ponyup default ubuntu24.04 | ||
``` | ||
|
||
## Fix generation of invalid LLVM IR | ||
|
||
Previously, this code failed at LLVM module verification. Now, with this change, it's fixed by stopping the generation of `ret` instructions after terminator instructions: | ||
|
||
```pony | ||
class Foo | ||
new create(a: U32) ? => | ||
error | ||
actor Main | ||
new create(env: Env) => | ||
try | ||
let f = Foo(1)? | ||
end | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +0,0 @@ | ||
## Fix compiler crash | ||
|
||
Previously the following code would cause the compiler to crash. Now it will display a helpful error message: | ||
|
||
```pony | ||
struct FFIBytes | ||
var ptr: Pointer[U8 val] = Pointer[U8].create() | ||
var length: USize = 0 | ||
fun iso string(): String val => | ||
recover String.from_cpointer(consume FFIBytes.ptr, consume FFIBytes.length) end | ||
actor Main | ||
new create(env: Env) => | ||
env.out.print("nothing to see here") | ||
``` | ||
|
||
## Add prebuilt ponyc binaries for Ubuntu 24.04 | ||
|
||
We've added prebuilt ponyc binaries specifically made to work on Ubuntu 24.04. | ||
|
||
You can opt into using the Ubuntu binaries when using ponyup by running: | ||
|
||
```bash | ||
ponyup default ubuntu24.04 | ||
``` | ||
|
||
## Fix generation of invalid LLVM IR | ||
|
||
Previously, this code failed at LLVM module verification. Now, with this change, it's fixed by stopping the generation of `ret` instructions after terminator instructions: | ||
|
||
```pony | ||
class Foo | ||
new create(a: U32) ? => | ||
error | ||
actor Main | ||
new create(env: Env) => | ||
try | ||
let f = Foo(1)? | ||
end | ||
``` | ||
|
||