We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7d012c commit 97a21b7Copy full SHA for 97a21b7
1 file changed
src/env/executable.rs
@@ -76,11 +76,6 @@ pub fn tls_info() -> Option<TlsInfo> {
76
align: tls_phdr.p_align,
77
};
78
79
- assert!(tls_info_eq(
80
- &tls_info,
81
- &super::boot_info().load_info.tls_info.unwrap()
82
- ));
83
-
84
Some(tls_info)
85
}
86
@@ -159,10 +154,3 @@ impl Elf64_EhdrExt for Elf64_Ehdr {
159
154
unsafe { slice::from_raw_parts(ptr, len) }
160
155
161
156
162
163
-fn tls_info_eq(this: &TlsInfo, other: &TlsInfo) -> bool {
164
- this.start == other.start
165
- && this.filesz == other.filesz
166
- && this.memsz == other.memsz
167
- && this.align == other.align
168
-}
0 commit comments