rustyscreeps / screeps-game-api

Typed bindings to the Screeps in-game API for WASM Rust AIs
MIT License
138 stars 44 forks source link

Determine all additional functions to disable when `sim` feature is enabled #508

Open shanemadden opened 6 months ago

shanemadden commented 6 months ago

See https://github.com/rustyscreeps/screeps-game-api/pull/507#issuecomment-1975395470 and following conversation - we should investigate what endpoints cause panics in sim and should be disabled when the sim feature is on, and give them a #[cfg(not(feature="sim"))].

shanemadden commented 6 months ago

Oh, already had an issue for this, kinda - https://github.com/rustyscreeps/screeps-game-api/issues/460