#[no_mangle]
pub fn create(_: Option<&Json>, arg: &dyn CreateArg) -> Result<Box<dyn PointRunnerSync>, Error>{
println!("point dylib create");
println!("{}", arg.config()["path"].as_str().unwrap_or("")); //此处报错
Ok(Box::new(PointDynlib{}))
}
1
共 1 条评论, 1 页
评论区
写评论错误为:
(exit code: 0xc0000005, STATUS_ACCESS_VIOLATION)