mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Check loading built-in binaries
This commit is contained in:
parent
5889cbd7de
commit
677c3228d0
Notes:
git
2023-03-08 04:59:38 +00:00
4 changed files with 14 additions and 8 deletions
|
@ -48,6 +48,7 @@ rb_load_with_builtin_functions(const char *feature_name, const struct rb_builtin
|
|||
vm->builtin_function_table = table;
|
||||
vm->builtin_inline_index = 0;
|
||||
const rb_iseq_t *iseq = rb_iseq_ibf_load_bytes((const char *)bin, size);
|
||||
ASSUME(iseq); // otherwise an exception should have raised
|
||||
vm->builtin_function_table = NULL;
|
||||
|
||||
// exec
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue