Add no_object
feature to disable objects.
This commit is contained in:
@@ -27,6 +27,7 @@ fn test_expressions() -> Result<(), EvalAltResult> {
|
||||
|
||||
/// This example taken from https://github.com/jonathandturner/rhai/issues/115
|
||||
#[test]
|
||||
#[cfg(not(feature = "no_object"))]
|
||||
fn test_expressions_eval() -> Result<(), EvalAltResult> {
|
||||
#[derive(Debug, Clone)]
|
||||
struct AGENT {
|
||||
|
Reference in New Issue
Block a user