diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-08-04 10:39:33 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-10-12 16:21:26 +0900 |
| commit | 84a68ca5aeb5fa29543fb23eeda717bcb8a131fe (patch) | |
| tree | 9a47fd3d725a158f7e563e8060816e81c9ea1765 /lib | |
| parent | 5e9dc72bc5a5f65e2bd4fde4b7e040be58962b4b (diff) | |
| download | mruby-84a68ca5aeb5fa29543fb23eeda717bcb8a131fe.tar.gz mruby-84a68ca5aeb5fa29543fb23eeda717bcb8a131fe.zip | |
Make sure `bintest` only works with `host` target.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/mruby/build.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/mruby/build.rb b/lib/mruby/build.rb index 9ba136cf3..40fd0f9fe 100644 --- a/lib/mruby/build.rb +++ b/lib/mruby/build.rb @@ -196,6 +196,7 @@ EOS end def enable_bintest + raise "bintest works only on 'host' target" unless name == "host" @enable_bintest = true end |
