diff options
| author | KOBAYASHI Shuji <[email protected]> | 2020-11-23 16:35:11 +0900 |
|---|---|---|
| committer | KOBAYASHI Shuji <[email protected]> | 2020-11-23 16:35:36 +0900 |
| commit | 0d8b1eaee50261a780e33757383cc9f822904956 (patch) | |
| tree | 54285d5c220f09c7fbde333da1fa5d6f0673d879 /build_config/boxing.rb | |
| parent | 39a11f323e26879d1101e31859ddb20068f12d56 (diff) | |
| download | mruby-0d8b1eaee50261a780e33757383cc9f822904956.tar.gz mruby-0d8b1eaee50261a780e33757383cc9f822904956.zip | |
Use local variables instead of top level constants in `boxing.rb` [ci skip]
Diffstat (limited to 'build_config/boxing.rb')
| -rw-r--r-- | build_config/boxing.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/build_config/boxing.rb b/build_config/boxing.rb index bc35f1600..4b07c22e1 100644 --- a/build_config/boxing.rb +++ b/build_config/boxing.rb @@ -1,8 +1,8 @@ -BOXINGS = %w[no word nan] -BITS = [64, 32] -INTS = [64, 32] +boxings = %w[no word nan] +bits = [64, 32] +ints = [64, 32] -BOXINGS.product(BITS, INTS) do |boxing, bit, int| +boxings.product(bits, ints) do |boxing, bit, int| next if boxing == "nan" && int == 64 MRuby::Build.new("boxing-#{boxing}-m#{bit}-i#{int}") do |conf| |
