Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

C. Presets at a Glance

trustedconfined (default)pure
Meant foryour own scriptseveryday and third-party scriptspure calculations
RustPolicy::trusted()Policy::confined()Policy::pure()
doctor languagefullrestrictedminimal
Lua librarieseverything except debugstring, table, math, utf8, coroutine, safe osstring, table, math, utf8
io, packageyesnono
load, loadstring, dofile, loadfileyesnono
os.execute, exit, getenv, remove, rename, tmpname, setlocaleyesnono
os.time, os.clock, os.dateyesyesno
printyesyesno
math.randomdifferent each rundifferent each runthe same each run
math.randomseed() with no seedyesyesrefused
Host accessall seven membersall seven membersnone
requireLua's ownthe script's folder onlyrefuses all but require("airsstack"); with the require member, the script's folder only
airsstack modulesall, unrestrictedall, only what is grantedall, only what is granted
Memory limitnone64 MiB16 MiB
Instruction limitnone100 million10 million

utf8 is on every preset. Without it a script could only count bytes, not characters, and could not shorten text without the risk of cutting a character in half.