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

[SOL] Alias mem syscalls to sol_mem variants #3

Merged
merged 1 commit into from
Jun 23, 2024
Merged

Conversation

joncinque
Copy link
Owner

Problem

The memory syscalls (memset, memcpy, memmove, memcmp) don't exist on Solana. The sol_mem variants exist, but the backend doesn't know to use them.

Solution

Call them for the solana backend.

Fixes #1

@joncinque joncinque merged commit b744316 into solana-1.41 Jun 23, 2024
5 of 10 checks passed
@joncinque joncinque deleted the mem branch June 23, 2024 11:31
joncinque added a commit that referenced this pull request Aug 23, 2024
#### Problem

The memory syscalls (memset, memcpy, memmove, memcmp) don't exist on
Solana. The sol_mem variants exist, but the backend doesn't know to use
them.

#### Solution

Call them for the solana backend.

Fixes #1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use sol_mem* syscalls on Solana targets
1 participant