From 62e8f27bf70d59c2ad2f8e8b4348aa5e64faad2b Mon Sep 17 00:00:00 2001 From: Bogdan Popa Date: Wed, 30 Dec 2020 14:50:37 +0200 Subject: [PATCH] inside: note necessary entitlement to embed CS using hardened runtime --- pkgs/racket-doc/scribblings/inside/cs-embedding.scrbl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/racket-doc/scribblings/inside/cs-embedding.scrbl b/pkgs/racket-doc/scribblings/inside/cs-embedding.scrbl index 8a9f54c032..5b3e18357f 100644 --- a/pkgs/racket-doc/scribblings/inside/cs-embedding.scrbl +++ b/pkgs/racket-doc/scribblings/inside/cs-embedding.scrbl @@ -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}}