diff --git a/lib/wasix/src/bin_factory/binary_package.rs b/lib/wasix/src/bin_factory/binary_package.rs index 80fced79468..78a9d5bc44b 100644 --- a/lib/wasix/src/bin_factory/binary_package.rs +++ b/lib/wasix/src/bin_factory/binary_package.rs @@ -181,6 +181,7 @@ 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()) }