Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement new StableApiDefinition VM control methods #445

Open
ianks opened this issue Nov 21, 2024 · 0 comments
Open

Implement new StableApiDefinition VM control methods #445

ianks opened this issue Nov 21, 2024 · 0 comments
Labels

Comments

@ianks
Copy link
Collaborator

ianks commented Nov 21, 2024

In order to support Truffleruby on magnus, we need to support VM control operations, which currently relies on cruby internals.

/// Causes the interpreter to abort with a message. This function never
/// returns (akin to `rb_bug`).
///
/// **Important**: This function is an absolute last resort. It should
/// only be used if all else fails.
fn vm_panic(&self, message: &CStr) -> !;

/// Issues a warning using Ruby's `warn` function (akin to `rb_warning`).
fn vm_warning(msg: &CStr);
@ianks ianks added this to the Full Truffleruby Support milestone Nov 21, 2024
@ianks ianks changed the title Implement new StableApi VM control methods Implement new StableApiDefinition VM control methods Nov 21, 2024
@ianks ianks added the help wanted Extra attention is needed label Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant