Skip to content

Commit

Permalink
chore: Deprecate BinaryPackage::entrypoint_bytes
Browse files Browse the repository at this point in the history
Redundant method
  • Loading branch information
theduke committed May 31, 2024
1 parent 9ebdfc7 commit 1c030f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/wasix/src/bin_factory/binary_package.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}
Expand Down

0 comments on commit 1c030f1

Please sign in to comment.