From 013c2ee10da196e0188582cf1192065bd6ab2f18 Mon Sep 17 00:00:00 2001 From: Christoph Herzog Date: Fri, 31 May 2024 17:37:34 +0200 Subject: [PATCH] chore: Deprecate BinaryPackage::entrypoint_bytes Redundant method --- lib/wasix/src/bin_factory/binary_package.rs | 4 ++++ 1 file changed, 4 insertions(+) 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()) }