diff --git a/lib/wasix/src/bin_factory/binary_package.rs b/lib/wasix/src/bin_factory/binary_package.rs index 80fced79468..76463d8a3f5 100644 --- a/lib/wasix/src/bin_factory/binary_package.rs +++ b/lib/wasix/src/bin_factory/binary_package.rs @@ -181,6 +181,10 @@ impl BinaryPackage { } /// Get the bytes for the entrypoint command. + #[deprecated( + reason = "Use BinaryPackage::get_entrypoint_cmd instead", + since = "0.22.0" + )] pub fn entrypoint_bytes(&self) -> Option<&[u8]> { self.get_entrypoint_cmd().map(|entry| entry.atom()) }