mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
4d81275083
- $1-$9 global variables set by Regexp#match and Regexp#=~ - $1-$9 cleared to nil on match failure - add mruby-regexp to stdlib.gembox (auto-included in standard builds) - remove duplicate gem entry from host-debug.rb Co-authored-by: Claude <noreply@anthropic.com>
23 lines
456 B
Ruby
23 lines
456 B
Ruby
MRuby::Build.new('host') do |conf|
|
|
# load specific toolchain settings
|
|
conf.toolchain
|
|
|
|
conf.enable_debug
|
|
|
|
# include the default GEMs
|
|
conf.gembox 'full-core'
|
|
|
|
# C compiler settings
|
|
conf.cc.defines = %w(MRB_USE_DEBUG_HOOK MRB_NO_BOXING)
|
|
|
|
# Generate mruby debugger command (require mruby-eval)
|
|
conf.gem :core => "mruby-bin-debugger"
|
|
|
|
# Regexp is included via stdlib.gembox
|
|
|
|
# test
|
|
conf.enable_test
|
|
# bintest
|
|
conf.enable_bintest
|
|
end
|