pub fn compile_and_run_error<T>(code: &str, conf: &WeldConf, ptr: &T) -> WeldError {
    unsafe { _compile_and_run(code, conf, ptr).expect_err("Expected error!") }
}
Runs `code` with the given `conf` and input data pointer `ptr`, expecting
a succeessful result to be returned. Panics if an error is thrown by the runtime.
weld/tests/common/mod.rs