Crates.io | gmod |
lib.rs | gmod |
version | 17.0.0 |
source | src |
created_at | 2021-09-17 17:05:47.524805 |
updated_at | 2023-04-12 17:41:01.388943 |
description | A swiss army knife for creating binary modules for Garry's Mod in Rust |
homepage | |
repository | https://github.com/WilliamVenner/gmod-rs |
max_upload_size | |
id | 452877 |
size | 73,607 |
A swiss army knife for creating binary modules for Garry's Mod in Rust.
Click here to see examples.
Currently, this crate requires the Rust Nightly compiler to be used.
This is because of the nature of Rust <-> C FFI (which is used extensively in this crate for interfacing with Lua) and the undefined behaviour that occurs when Lua performs long jumps out of functions during errors, or when Rust panics and unwinds out of a foreign stack frame. The C-unwind
ABI is used to prevent this undefined behaviour.