add notes about using racket/base instead of racket. closes pr 10992
This commit is contained in:
parent
1b838cf85a
commit
c11a177009
|
@ -19,6 +19,10 @@ remainder of the first line must be a command to execute the script. For
|
|||
some platforms, the total length of the first line is restricted to 32
|
||||
characters, and sometimes the space is required.
|
||||
|
||||
@margin-note{Use @racketmodfont{#lang} @racketmodname[racket/base] instead
|
||||
of @racketmodfont{#lang} @racketmodname[racket] to produce scripts with a
|
||||
lower startup time.}
|
||||
|
||||
The simplest script format uses an absolute path to a @exec{racket}
|
||||
executable followed by a module declaration. For example, if
|
||||
@exec{racket} is installed in @filepath{/usr/local/bin}, then a file
|
||||
|
|
|
@ -5,6 +5,11 @@
|
|||
|
||||
@title[#:tag "exe"]{@exec{raco exe}: Creating Stand-Alone Executables}
|
||||
|
||||
@margin-note{Use a smaller base language to achieve a lower startup time such as
|
||||
@racketmodfont{#lang} @racketmodname[racket/base] instead of
|
||||
@racketmodfont{#lang} @racketmodname[racket] rather than relying on @exec{raco
|
||||
exe}.}
|
||||
|
||||
Compiled code produced by @exec{raco make} relies on Racket
|
||||
executables to provide run-time support to the compiled code. However,
|
||||
@exec{raco exe} can package code together with its run-time support to
|
||||
|
|
Loading…
Reference in New Issue
Block a user