[BUG] Manual viewport binding prevents runtime compilation #9
Labels
No labels
alpha-1
bug
ci
docs
duplicate
enhancement
help wanted
invalid
performance
phase-6
question
refactor
security
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
erix/coreutils#9
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The physical-row manual pager binds a local
viewportvalue with the same nameas its geometry helper. The later resize call resolves to that value, preventing
both hosted runtime tests and the native executable from compiling.
Reproduction
At
f9eb44395e96a3d3771a95935bdaf103b7776a20, use the normal resolved internalCargo graph and run:
Both default and all-feature runtime configurations are affected.
Expected and actual behavior
The runtime should compile and keep using the read-only geometry helper during
resize. Instead, rustc exits 101 with:
The binding on line 17 shadows the function before its second call.
Environment and identity
f9eb44395e96a3d3771a95935bdaf103b7776a20; the later writer-onlydescendant retains the same runtime source.
x86_64-unknown-nonechecks.7bbe1f2d641eb125b6d0a2da710515d9f925d4ee.Evidence and prior checks
The first current-source unit, hosted Clippy and freestanding checks report the
same E0618 diagnostic. Formatting and library documentation do not compile this
runtime path and therefore do not establish its correctness.
Tracking
Related to physical manual pagination
and Coreutils PR 2.