Skip to content

tool: avoid --release for development and fix unsigned overflow#490

Merged
Ivan-Velickovic merged 2 commits into
mainfrom
debug_tool
May 14, 2026
Merged

tool: avoid --release for development and fix unsigned overflow#490
Ivan-Velickovic merged 2 commits into
mainfrom
debug_tool

Conversation

@Ivan-Velickovic
Copy link
Copy Markdown
Collaborator

@Ivan-Velickovic Ivan-Velickovic commented May 14, 2026

See commit messages for details.

This has not been an issue in the past since we always build the tool
in release mode so the Rust compiler was not doing overflow checks.

Since the kernel headers use the constants, and we're trying to follow
what the kernel does, use them as well rather than doing the
calculation.

Signed-off-by: Ivan Velickovic <i.velickovic@unsw.edu.au>
This script is for developing, so it makes more sense that we have
all the Rust debug checks available.

Signed-off-by: Ivan Velickovic <i.velickovic@unsw.edu.au>
@Ivan-Velickovic Ivan-Velickovic merged commit 112600f into main May 14, 2026
11 checks passed
@Ivan-Velickovic Ivan-Velickovic deleted the debug_tool branch May 14, 2026 02:01
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