~lattis/muon#18: 
error: function 'contains()' not found

/home/user/rizin/rizin_copy/meson.build:160:20: error: function contains not found
160 | if (b_sanitize_opt.contains('address') or b_sanitize_opt.contains('undefined')) and cc.get_id() == 'clang'

The piece of code in question is:

b_sanitize_opt = get_option('b_sanitize')
if (b_sanitize_opt.contains('address') or b_sanitize_opt.contains('undefined')) and cc.get_id() == 'clang'
  executable_cflags += '-shared-libasan'
  executable_linkflags += '-shared-libasan'
  library_cflags += '-shared-libasan'
  library_linkflags += '-shared-libasan'
endif

See full file at https://github.com/rizinorg/rizin/blob/dev/meson.build#L160

Status
RESOLVED FIXED
Submitter
~xvilka
Assigned to
No-one
Submitted
2 months ago
Updated
a month ago
Labels
No labels applied.