Skip to content

Commit 84b36fe

Browse files
committed
fix: cargo doc warnings
1 parent 32aee41 commit 84b36fe

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

libdd-otel-thread-ctx-ffi/tests/elf_properties.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//! checks that:
88
//! - `otel_thread_ctx_v1` is exported in the dynamic symbol table as a TLS GLOBAL symbol.
99
//! - `otel_thread_ctx_v1` follows the TLSDESC access model (if there's a relocation, it's a TLSDESC
10-
//! one).
10+
//! one).
1111
//!
1212
//! The cdylib path is derived at runtime from the test executable location.
1313
//! Both the test binary and the cdylib live in `target/<[triple/]profile>/deps/`.

libdd-otel-thread-ctx/src/sanity_check.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
//! that the binary was linked with the correct option:
1010
//!
1111
//! - `otel_thread_ctx_v1` is exported as TLS GLOBAL in the dynamic symbol table.
12-
//! - `otel_thread_ctx_v1` has no non-TLSDESC TLS relocations in `.rela.dyn`. The linker may pick
13-
//! TLSDESC or Local Exec depending on optimization; both are acceptable. All other TLS relocation
14-
//! types (DTPMOD, DTPOFF, TPOFF, GOTTPOFF, etc.) are rejected.
12+
//! - `otel_thread_ctx_v1` follows the TLSDESC model: there's either no relocation in `.rela.dyn`
13+
//! (Local Exec), or a TLSDESC one. All other TLS relocation types (DTPMOD, DTPOFF, TPOFF,
14+
//! GOTTPOFF, etc.) are rejected.
1515
//!
1616
//! This module is only available on Linux (the only platform that supports the TLSDESC dialect used
1717
//! by this crate) and only when the `sanity-check` feature is enabled.

0 commit comments

Comments
 (0)