P2: later
An appendix to the milestone.
-
Refusedimplements neitherDisplaynorcore::error::Error. Finding:src/lib.rsline 170 to:178. A caller cannot use?into aBox<dyn Error>or print the refusal without matching.core::error::Erroris stable incore, sono_stdis no bar. Change: both impls, each variant's message naming the key and the domain constant. Door: two-way, additive. Effort: S. -
Documentation that disagrees with the code. Finding:
MAXIMUM_TIME_ZONE_BYTES's doc says the longest IANA identifiers "run to about 33 bytes". The longest is 32, a backward link, and the longest canonical names are 30 in this host's tzdata.notes/env-config.mdcalls the crate name provisional while the crate'sName:block reads ratified.system_tests/src/user/printenv_tests.rsline 89 cites a testa_zeroed_page_reads_as_no_configurationthat does not exist (the test isa_zeroed_frame_carries_no_configuration).notes/bugs-without-milestones/kernel-abi-and-component-plumbing-1.mdline 13 says no manifest field declares the page;grant_plan::Manifest::configurationdoes. TheKNOWN_LOCALESdoc does not say that the page spells the codesetUTF-8while glibc'slocale -aprintsutf8(whethersetlocalenormalizes the two stays unverified here). Change: the five sentences. The nife-side rows belong to the move lane's pull request in nife. Door: two-way. Effort: S. -
The reader's constructor takes a raw address where the family's newest member takes bytes. Finding:
ConfigPage::new(va: u64)isunsafe, stores a raw pointer and isCopy,SendandSyncbyunsafe impl. The whole burden sits on the caller's promise about a mapping.program_argument_contract::ArgPage::parse(&[u8; PAGE_BYTES])is safe, and every host test and doctest in this crate already holds a[u8; PAGE_BYTES]it casts to an address. TheSendandSyncargument is sound as written (one writer, finished before the first reader, immutable bytes thereafter) andnotes/unsafe-obligations/ceilings.mdrecords it. Change: none to the family shape, whichclock_contractandcounter_frequency_contractshare and whose consumers hold an address, not a slice. Recommended: a safefn read(page: &[u8; PAGE_CONTENT_BYTES]) -> ConfigurationView<'_>or three free functions over a borrowed array, so a host program and the tests never writeunsafe, with the address constructor kept for the mapped case. The maintainer can decide it. Door: two-way, additive. Effort: S. -
The curated lists have no stated growth path for a stranger. Finding: the crate's
BUGSsays the lists "grow on demand" and points at ยง46 (thin primitives or whole subsystems; we write everything in between); a stranger withTZ=Europe/Madridfinds it refused and no instruction. Twenty zones, twelve locales and eleven terminal types is a demonstration-sized set. Change: the README'sBUGSnames the policy (a real IANA, glibc or terminfo name, added by a pull request that cites the source) and the alternative refused (compiling the full tables in, a dependency decision). No code change. Door: two-way. Effort: S, inside item 6.