Add macOS SCSI support via IOKit SCSITaskDeviceInterface

IOKit backend for macOS optical drives. Accepts BSD device paths
(/dev/disk2), walks IORegistry to find authoring device, sends
SCSI commands through SCSITaskDeviceInterface COM vtable.
This commit is contained in:
MattJackson
2026-04-07 13:15:06 -07:00
parent 492a2966c0
commit 237528b385
6 changed files with 483 additions and 6 deletions
+7
View File
@@ -0,0 +1,7 @@
fn main() {
#[cfg(target_os = "macos")]
{
println!("cargo:rustc-link-lib=framework=IOKit");
println!("cargo:rustc-link-lib=framework=CoreFoundation");
}
}