Skip to content

Commit

Permalink
Add pony program example to release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
mfelsche committed Jan 16, 2023
1 parent 3798bf6 commit 4ac6caa
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .release-notes/4303.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,13 @@

We now ship a "standalone" version of libponyc for MacOS. libponyc-standalone allows applications to use Pony compiler functionality as a library. The standalone version contains "all dependencies" needed in a single library. On MacOS, sadly "all dependencies" means "all that can be statically linked", so unlike Linux, dynamically linking to C++ standard library is required on MacOS.

An example pony program linking against it would need to look like this:

```pony
use "lib:ponyc-standalone" if posix or osx
use "lib:c++" if osx
actor Main
new create(env: Env) =>
None
```

0 comments on commit 4ac6caa

Please sign in to comment.