Skip to content

src/stats.rs: Improve portability to ILP32 targets by adding an .into(). - #67

Merged
mihaigalos merged 1 commit into
mihaigalos:mainfrom
he32:fix-ilp32
Aug 30, 2026
Merged

src/stats.rs: Improve portability to ILP32 targets by adding an .into().#67
mihaigalos merged 1 commit into
mihaigalos:mainfrom
he32:fix-ilp32

Conversation

@he32

@he32 he32 commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

At least on NetBSD, the frargment_size field is defined as "unsigned long", and insisting that is an u64 ignores all ilp32 CPU targets. Amend this by adding an .into() conversion.

Verified to now build on NetBSD/macppc 11.0 with rust 1.98.0, whereas it did not before.

At least on NetBSD, the frargment_size field is defined as "unsigned
long", and insisting that is an u64 ignores all ilp32 CPU targets.
Amend this by adding an .into() conversion.

Verified to now build on NetBSD/macppc 11.0 with rust 1.98.0,
whereas it did not before.
@mihaigalos
mihaigalos merged commit a19daf1 into mihaigalos:main Aug 30, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants