mirror of
https://github.com/lua/lua
synced 2024-12-27 12:49:43 +03:00
Documentation for "LUA_NOENV"
Registry field "LUA_NOENV" (that signals to libraries that option -E is on) now part of the "official" API of Lua stand-alone.
This commit is contained in:
parent
5ab6a5756b
commit
9363a8b990
@ -9026,6 +9026,10 @@ Lua does not consult any environment variables.
|
||||
In particular,
|
||||
the values of @Lid{package.path} and @Lid{package.cpath}
|
||||
are set with the default paths defined in @id{luaconf.h}.
|
||||
To signal to the libraries that this option is on,
|
||||
the stand-alone interpreter sets the field
|
||||
@idx{"LUA_NOENV"} in the registry to a true value.
|
||||
Other libraries may consult this field for the same purpose.
|
||||
|
||||
The options @T{-e}, @T{-l}, and @T{-W} are handled in
|
||||
the order they appear.
|
||||
|
Loading…
Reference in New Issue
Block a user