Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
84a68ca5
Unverified
Commit
84a68ca5
authored
Aug 04, 2020
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure `bintest` only works with `host` target.
parent
5e9dc72b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
5 deletions
+1
-5
lib/mruby/build.rb
lib/mruby/build.rb
+1
-0
target/boxing.rb
target/boxing.rb
+0
-3
target/host-debug.rb
target/host-debug.rb
+0
-1
target/travis.rb
target/travis.rb
+0
-1
No files found.
lib/mruby/build.rb
View file @
84a68ca5
...
...
@@ -196,6 +196,7 @@ EOS
end
def
enable_bintest
raise
"bintest works only on 'host' target"
unless
name
==
"host"
@enable_bintest
=
true
end
...
...
target/boxing.rb
View file @
84a68ca5
...
...
@@ -7,7 +7,6 @@ MRuby::Build.new('no_boxing') do |conf|
conf
.
gembox
'default'
conf
.
enable_test
conf
.
enable_bintest
end
MRuby
::
Build
.
new
(
'word_boxing'
)
do
|
conf
|
...
...
@@ -18,7 +17,6 @@ MRuby::Build.new('word_boxing') do |conf|
c
.
defines
+=
%w(MRB_WORD_BOXING)
end
conf
.
enable_test
conf
.
enable_bintest
end
MRuby
::
Build
.
new
(
'nan_boxing'
)
do
|
conf
|
...
...
@@ -29,6 +27,5 @@ MRuby::Build.new('nan_boxing') do |conf|
c
.
defines
+=
%w(MRB_NAN_BOXING)
end
conf
.
enable_test
conf
.
enable_bintest
end
target/host-debug.rb
View file @
84a68ca5
...
...
@@ -20,5 +20,4 @@ MRuby::Build.new('host-debug') do |conf|
conf
.
gem
:core
=>
"mruby-bin-debugger"
# bintest
# conf.enable_bintest
end
target/travis.rb
View file @
84a68ca5
...
...
@@ -31,7 +31,6 @@ MRuby::Build.new('cxx_abi') do |conf|
conf
.
compilers
.
each
do
|
c
|
c
.
defines
+=
%w(MRB_GC_FIXED_ARENA)
end
conf
.
enable_bintest
conf
.
enable_test
enable_cxx_abi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment