unsafe fn _compile_and_run<T>(code: &str, conf: &WeldConf, ptr: &T) -> WeldResult<WeldValue> {
    let ref input_value = WeldValue::new_from_data(ptr as *const _ as Data);
    let module = match WeldModule::compile(code, conf) {
        Ok(module) => module,
        Err(err) => {
            return Err(err);
        }
    };

    let ref mut context = WeldContext::new(conf).unwrap();
    module.run(context, input_value)
}
Compiles and runs some code on a configuration and input data pointer. If the run is
successful, returns the resulting value. If the run fails (via a runtime error), returns an
error. Both the value and error must be freed by the caller. The  `conf` passed to this
function is freed.
weld/tests/common/mod.rs