See https://github.com/SpiralP/rust-glua-sys for a more recent take
- Easier cross platform library creation (good for eg. file IO or using libraries that are in cargo)
- Don't use it for things that need to interact with source sdk. Rust does not play nice with C++
Windows:
cargo build --target=i686-pc-windows-msvc
(because srcds is 32-bit)
Note: you might need to install 32 bit libc or whatever from rustup.
Linux:
cargo build
(you might need to set target to 32- bit if this does not work)