mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
cdd72d9c37
(`mrb_rescue_exceptions` is mruby implementation of `rb_rescue2`.) Closes #2844, closes #2837.
11 lines
379 B
Ruby
11 lines
379 B
Ruby
MRuby::Gem::Specification.new('mruby-error') do |spec|
|
|
spec.license = 'MIT'
|
|
spec.author = 'mruby developers'
|
|
spec.summary = 'extensional error handling'
|
|
|
|
if build.cxx_abi_enabled?
|
|
@objs << build.compile_as_cxx("#{spec.dir}/src/exception.c", "#{spec.build_dir}/src/exception.cxx")
|
|
@objs.delete_if { |v| v == objfile("#{spec.build_dir}/src/exception") }
|
|
end
|
|
end
|