1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-01 16:51:13 -05:00

chore(cli): fix outdated comment (#18106)

This commit is contained in:
Lino Le Van 2023-03-09 18:13:53 -08:00 committed by Yoshiya Hinosawa
parent c7528240cb
commit afb04af3e3

View file

@ -63,7 +63,7 @@ pub const MAGIC_TRAILER: &[u8; 8] = b"d3n0l4nd";
/// This function will try to run this binary as a standalone binary /// This function will try to run this binary as a standalone binary
/// produced by `deno compile`. It determines if this is a standalone /// produced by `deno compile`. It determines if this is a standalone
/// binary by checking for the magic trailer string `D3N0` at EOF-12. /// binary by checking for the magic trailer string `d3n0l4nd` at EOF-24.
/// The magic trailer is followed by: /// The magic trailer is followed by:
/// - a u64 pointer to the JS bundle embedded in the binary /// - a u64 pointer to the JS bundle embedded in the binary
/// - a u64 pointer to JSON metadata (serialized flags) embedded in the binary /// - a u64 pointer to JSON metadata (serialized flags) embedded in the binary