summaryrefslogtreecommitdiffhomepage
path: root/target/host-debug.rb
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2020-08-05 07:52:15 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2020-10-12 16:21:26 +0900
commit1eb71b008f3bef36449007aec239119e74314dac (patch)
tree30220e28a61c97881cf3335e689d871a5aa3943b /target/host-debug.rb
parent84a68ca5aeb5fa29543fb23eeda717bcb8a131fe (diff)
downloadmruby-1eb71b008f3bef36449007aec239119e74314dac.tar.gz
mruby-1eb71b008f3bef36449007aec239119e74314dac.zip
Change default boxing scheme from `MRB_NO_BOXING`.
On 64bit platforms: `MRB_NAN_BOXING` On 32bit platforms: `MRB_WORD_BOXING` On debugging: `MRB_NO_BOXING`
Diffstat (limited to 'target/host-debug.rb')
-rw-r--r--target/host-debug.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/host-debug.rb b/target/host-debug.rb
index 44eccacf6..423286888 100644
--- a/target/host-debug.rb
+++ b/target/host-debug.rb
@@ -14,7 +14,7 @@ MRuby::Build.new('host-debug') do |conf|
conf.gembox 'full-core'
# C compiler settings
- conf.cc.defines = %w(MRB_ENABLE_DEBUG_HOOK)
+ conf.cc.defines = %w(MRB_ENABLE_DEBUG_HOOK MRB_NO_BOXING)
# Generate mruby debugger command (require mruby-eval)
conf.gem :core => "mruby-bin-debugger"