Skip to content

Fix build when MRB_NO_FLOAT is defined#6895

Merged
matz merged 2 commits into
mruby:masterfrom
0x1eef:mrb_no_float_patch
Jun 17, 2026
Merged

Fix build when MRB_NO_FLOAT is defined#6895
matz merged 2 commits into
mruby:masterfrom
0x1eef:mrb_no_float_patch

Conversation

@0x1eef

@0x1eef 0x1eef commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Hello

I was experimenting with different build options, and
I noticed when I defined MRB_NO_FLOAT the build
would fail in mruby-compiler and class.c.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request wraps float-related code in codegen.c and class.c with #ifndef MRB_NO_FLOAT preprocessor directives, enabling mruby to be compiled without float support. No review comments were provided, so there is no additional feedback.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@0x1eef 0x1eef force-pushed the mrb_no_float_patch branch from 0094198 to acf964a Compare June 17, 2026 08:42
@matz matz merged commit 0c8527f into mruby:master Jun 17, 2026
18 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants