Skip to content

Commit 625534c

Browse files
authored
elf: Added ELF constant for Zstandard compression algorithm (#516)
1 parent 771f8d8 commit 625534c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/elf/compression_header.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ macro_rules! elf_compression_header {
1818

1919
/// ZLIB/DEFLATE algorithm.
2020
pub const ELFCOMPRESS_ZLIB: u32 = 1;
21+
/// Zstandard algorithm.
22+
pub const ELFCOMPRESS_ZSTD: u32 = 2;
2123
/// Start of OS-specific.
2224
pub const ELFCOMPRESS_LOOS: u32 = 0x6000_0000;
2325
/// End of OS-specific.

0 commit comments

Comments
 (0)