autocxx
autocxx copied to clipboard
autocxx_build does not support multiple include_cpp! in different files
I have multiple include_cpp! in different modules which in different .rs files, but autocxx_build::Builder::new() only supports one input .rs file.
I have tried to call autocxx_build::Builder::new() for each .rs file, but build failed with error 'Builder::init should not be called after logger initialized: SetLoggerError(())'. Every autocxx_build::Builder::new() calls env_logger::builder().init(), which should only call once. So, autocxx_build::Builder::new() can only create one instance.
- Version: 0.22.3