From 1c030f14e30a2801016c34cb607c633e89087d49 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 | 1 + 1 file changed, 1 insertion(+) 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()) }