aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/io/io_interface.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/io/io_interface.rs')
-rw-r--r--crates/shirabe/src/io/io_interface.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/shirabe/src/io/io_interface.rs b/crates/shirabe/src/io/io_interface.rs
index 1ae8d28..af3f688 100644
--- a/crates/shirabe/src/io/io_interface.rs
+++ b/crates/shirabe/src/io/io_interface.rs
@@ -155,6 +155,11 @@ pub trait IOInterface: IOInterfaceImmutable + IOInterfaceMutable {
fn as_base_io_mut(&mut self) -> Option<&mut dyn crate::io::BaseIO> {
None
}
+
+ // PHP: only `ConsoleIO::enableDebugging` exists; the interface itself does not declare it.
+ fn enable_debugging(&mut self, _start_time: f64) {
+ panic!("enable_debugging is only supported by ConsoleIO/BufferIO");
+ }
}
// Shared-ownership handle for a PHP IO instance (reference semantics). It