inside: note necessary entitlement to embed CS using hardened runtime

This commit is contained in:
Bogdan Popa 2020-12-30 14:50:37 +02:00 committed by GitHub
parent 001ad13297
commit 62e8f27bf7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,9 @@ To embed Racket CS in a program, follow these steps:
standard framework search path, or your embedding executable must
provide a specific path to the framework (possibly an
executable-relative path using the Mach-O @tt["@executable_path"]
prefix).}
prefix). When targeting the Hardened Runtime, you must enable the
``Allow Unsigned Executable Memory'' entitlement, otherwise you will
run into ``out of memory'' errors when calling @cppi{racket_boot}.}
@item{For each C file that uses Racket library functions,
@cpp{#include} the files @as-index{@filepath{chezscheme.h}}