Update docs
This commit is contained in:
@@ -1,3 +1,18 @@
|
||||
//! Raw bindings for LuaJIT generated using [bindgen](https://docs.rs/bindgen/).
|
||||
//!
|
||||
//! ## Feature flags
|
||||
//!
|
||||
//! Features flags are used to control certain features of LuaJIT. They are not enabled by default
|
||||
//! unless otherwise specified below.
|
||||
//!
|
||||
//! - `runtime`: links the target with `libluajit`. This should only be enabled by binary targets.
|
||||
//! - `jit`: enables the JIT compiler. *This is enabled by default.*
|
||||
//! - `ffi`: enables the FFI library. *This is enabled by default.*
|
||||
//! - `unwind`: configures LuaJIT to use stack unwinding instead of `longjmp` for error handling.
|
||||
//! **This MUST be enabled if `panic = "unwind"` is set.**
|
||||
//! - `bundled-alloc`: configures LuaJIT to include its own bundled allocator. If this is not
|
||||
//! enabled, LuaJIT will use the system allocator by default.
|
||||
//! - `lua52`: enables Lua 5.2 compatibility mode. *This is enabled by default.*
|
||||
#![allow(nonstandard_style)]
|
||||
use std::{ffi::*, ptr};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user