Enable raw-dylib for binaries

This commit is contained in:
Daniel Paoliello 2022-07-01 13:01:41 -07:00
parent bca7b0279f
commit fef3b3e27d

View File

@ -4,7 +4,6 @@
use rustc_codegen_ssa::back::archive::ArchiveBuilder; use rustc_codegen_ssa::back::archive::ArchiveBuilder;
use rustc_session::Session; use rustc_session::Session;
use rustc_data_structures::temp_dir::MaybeTempDir;
use rustc_session::cstore::DllImport; use rustc_session::cstore::DllImport;
struct ArchiveConfig<'a> { struct ArchiveConfig<'a> {
@ -177,7 +176,16 @@ enum BuilderKind<'a> {
any_members any_members
} }
fn inject_dll_import_lib(&mut self, _lib_name: &str, _dll_imports: &[DllImport], _tmpdir: &MaybeTempDir) { fn sess(&self) -> &Session {
self.config.sess
}
fn create_dll_import_lib(
_sess: &Session,
_lib_name: &str,
_dll_imports: &[DllImport],
_tmpdir: &Path,
) -> PathBuf {
unimplemented!(); unimplemented!();
} }
} }