Skip to content

[Upstream PR #123] docs(main): justify non_upper_case_globals allow in jemalloc malloc_conf symbols #101

@quangdang46

Description

@quangdang46

Mirrored from upstream 1jehuang/jcodePull Request #123 by @DeviosLang
Original state: open
Created: 2026-05-04T19:05:07Z · Updated: 2026-05-04T19:05:10Z
Diff: https://github.com/1jehuang/jcode/pull/123.diff
This issue is an auto-mirrored copy. Comments and edits here are local to quangdang46/jcode — do not expect them to propagate upstream.


Part of the suppression cleanup backlog in docs/CODE_QUALITY_TODO.md.
malloc_conf is an ABI-defined C symbol name looked up by jemalloc at process startup. The name must be exactly malloc_conf (lower_snake_case) per the jemalloc ABI, so #[allow(non_upper_case_globals)] is load-bearing and cannot be removed.
Replace the terse one-line comments with an explanation that makes this clear to future readers, and mark the corresponding TODO item as complete.


View in Codesmith
Need help on this PR? Tag @codesmith with what you need.

  • Let Codesmith autofix CI failures and bot reviews

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions