From 94b0d6bb63e354c71bf072953d27c097eb7b38ca Mon Sep 17 00:00:00 2001 From: Juan Carlos Date: Wed, 26 Feb 2020 06:01:23 -0300 Subject: [PATCH] Documentation staticRead maximum file size limits (#13485) --- lib/system.nim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/system.nim b/lib/system.nim index 433829c3c7..69083673be 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -2525,6 +2525,9 @@ proc staticRead*(filename: string): string {.magic: "Slurp".} ## Compile-time `readFile `_ proc for easy ## `resource`:idx: embedding: ## + ## The maximum file size limit that ``staticRead`` and ``slurp`` can read is + ## near or equal to the *free* memory of the device you are using to compile. + ## ## .. code-block:: Nim ## const myResource = staticRead"mydatafile.bin" ##